fields - compile-time class fields

NAME SYNOPSIS DESCRIPTION SEE ALSO NAME fields - compile-time class fields SYNOPSIS { package Foo; use fields qw(foo bar _Foo_private); sub new { my Foo $self = shift; unless (ref $self) { $self = fields::new($self); $self->{_Foo_private} = "this is Foo's secret"; } $self->{foo} = 10; $self->{bar} = 20; return $self; } } my $var = Foo->new; $var->{foo} = 42; # this will generate a run-time

feature - Perl pragma to enable new features

NAME SYNOPSIS DESCRIPTIONLexical effect no feature AVAILABLE FEATURESThe 'say' feature The 'state' feature The 'switch' feature The 'unicode_strings' feature The 'unicode_eval' and 'evalbytes' features The 'current_sub' feature The 'array_base' feature The 'fc' feature The 'lexical_subs' feature The 'postderef' and 'postderef_qq' features The 'signatures' feature The 'refaliasing' feature The 'bitwise' feature FEATURE BUNDLES IMPLICIT LOADING NAME feature - Perl pragma to enable new featu

Fcntl - load the C Fcntl.h defines

NAME SYNOPSIS DESCRIPTION NOTE EXPORTED SYMBOLS NAME Fcntl - load the C Fcntl.h defines SYNOPSIS use Fcntl; use Fcntl qw(:DEFAULT :flock); DESCRIPTION This module is just a translation of the C fcntl.h file. Unlike the old mechanism of requiring a translated fcntl.ph file, this uses the h2xs program (see the Perl source distribution) and your native C compiler. This means that it has a far more likely chance of getting the numbers right. NOTE Only #define symbols get translated; you must sti

fcntl

fcntl FILEHANDLE,FUNCTION,SCALAR Implements the fcntl(2) function. You'll probably have to say use Fcntl; first to get the correct constant definitions. Argument processing and value returned work just like ioctl below. For example: use Fcntl; fcntl($filehandle, F_GETFL, $packed_return_buffer) or die "can't fcntl F_GETFL: $!"; You don't have to check for defined on the return from fcntl. Like ioctl, it maps a 0 return from the system call into "0 but true" in Perl. This string is true in

fc

fc EXPR fc Returns the casefolded version of EXPR. This is the internal function implementing the \F escape in double-quoted strings. Casefolding is the process of mapping strings to a form where case differences are erased; comparing two strings in their casefolded form is effectively a way of asking if two strings are equal, regardless of case. Roughly, if you ever found yourself writing this lc($this) eq lc($that) # Wrong! # or uc($this) eq uc($that) # Also wrong! # or $this =~

Fatal - Replace functions with equivalents which succeed or die

NAME SYNOPSIS BEST PRACTICE DESCRIPTION DIAGNOSTICS BUGS AUTHOR LICENSE SEE ALSO NAME Fatal - Replace functions with equivalents which succeed or die SYNOPSIS use Fatal qw(open close); open(my $fh, "<", $filename); # No need to check errors! use File::Copy qw(move); use Fatal qw(move); move($file1, $file2); # No need to check errors! sub juggle { . . . } Fatal->import('juggle'); BEST PRACTICE Fatal has been obsoleted by the new autodie pragma. Please use autodie in preference to F

ExtUtils::testlib - add blib/* directories to @INC

NAME SYNOPSIS DESCRIPTION NAME ExtUtils::testlib - add blib/* directories to @INC SYNOPSIS use ExtUtils::testlib; DESCRIPTION After an extension has been built and before it is installed it may be desirable to test it bypassing make test . By adding use ExtUtils::testlib; to a test program the intermediate directories used by make are added to @INC.

ExtUtils::ParseXS - converts Perl XS code into C code

NAME SYNOPSIS DESCRIPTION EXPORT METHODS AUTHOR COPYRIGHT SEE ALSO NAME ExtUtils::ParseXS - converts Perl XS code into C code SYNOPSIS use ExtUtils::ParseXS; my $pxs = ExtUtils::ParseXS->new; $pxs->process_file( filename => 'foo.xs' ); $pxs->process_file( filename => 'foo.xs', output => 'bar.c', 'C++' => 1, typemap => 'path/to/typemap', hiertype => 1, except => 1

ExtUtils::Packlist - manage .packlist files

NAME SYNOPSIS DESCRIPTION USAGE FUNCTIONS EXAMPLE AUTHOR NAME ExtUtils::Packlist - manage .packlist files SYNOPSIS use ExtUtils::Packlist; my ($pl) = ExtUtils::Packlist->new('.packlist'); $pl->read('/an/old/.packlist'); my @missing_files = $pl->validate(); $pl->write('/a/new/.packlist'); $pl->{'/some/file/name'}++; or $pl->{'/some/other/file/name'} = { type => 'file', from => '/some/file' }; DESCRIPTION ExtUtils::Packlist provide

ExtUtils::MY - ExtUtils::MakeMaker subclass for customization

NAME SYNOPSIS DESCRIPTION NAME ExtUtils::MY - ExtUtils::MakeMaker subclass for customization SYNOPSIS # in your Makefile.PL sub MY::whatever { ... } DESCRIPTION FOR INTERNAL USE ONLY ExtUtils::MY is a subclass of ExtUtils::MM. Its provided in your Makefile.PL for you to add and override MakeMaker functionality. It also provides a convenient alias via the MY class. ExtUtils::MY might turn out to be a temporary solution, but MY won't go away.