hs-perl5-0.1.0: Haskell interface to embedded Perl 5 interpreter

Safe HaskellSafe
LanguageHaskell2010

Language.Perl.Internal.Constants

Contents

Description

Constants and stuff extracted from header files.

Synopsis

Flag values for call functions.

pattern G_VOID :: (Num a, Eq a) => a Source #

void context

pattern G_SCALAR :: (Num a, Eq a) => a Source #

scalar context

pattern G_ARRAY :: (Num a, Eq a) => a Source #

list context (yes - it IS called list context in the Perl docco, despite the name)

pattern G_DISCARD :: (Num a, Eq a) => a Source #

discard results

pattern G_NOARGS :: (Num a, Eq a) => a Source #

no args -- use with caution

pattern G_EVAL :: (Num a, Eq a) => a Source #

catch exceptions

pattern G_KEEPERR :: (Num a, Eq a) => a Source #

do ... something with errors. see perlcall

Flag values for get_sv "variable-creation" functions.

pattern GV_ADD :: (Num a, Eq a) => a Source #

used in calls to "get_sv" - specifies that the named variable should be created.

pattern GV_ADDMULTI :: (Num a, Eq a) => a Source #

may be bitwise-ORed with GV_ADD - specifies that no warning should be emitted if the variable is used only once.

pattern GV_ADDWARN :: (Num a, Eq a) => a Source #

may be bitwise-ORed with GV_ADD - issues the warning:

Had to create varname unexpectedly

if the named variable did not exist before the function was called.

Underlying C types

type IV = Int64 Source #

Underlying C integer type used by Perl. ("IV" = "Integer value".)

type NV = Double Source #

Underlying C floating-point type used by Perl. ("NV" = "Numeric value".)