perldelta - what's new for perl5.005

See "New INIT keyword", "New lock keyword", and "New qr// operator". ... See "New Diagnostics". Licensing Perl has a new Social Contract for contributors.

perlmodlib - constructing new Perl modules and finding existing ones

For example, does your application still work if you change: $obj = new YOURCLASS; into: $obj = new SUBCLASS ... Don't delete the original .pl file till the new .pm one works!

CGI::Switch - Try more than one constructors and return the first object available

available SYNOPSIS use CGISwitch; -or- use CGI::Switch This, That, CGI::XA, Foo, Bar, CGI; my $q = new ... CGI::Switch; DESCRIPTION Per default the new() method tries to call new() in the three packages Apache

Tie::Handle - base class definitions for tied handles

NAME Tie::Handle - base class definitions for tied handles SYNOPSIS package NewHandle; require Tie ... Associates a new glob instance with the specified class.

Search::Dict - search for key in dictionary file

Returns the new file position, or -1 if an error occurs.

SelectSaver - save and restore selected file handle

SelectSaver - save and restore selected file handle SYNOPSIS use SelectSaver; { my $saver = new ... SelectSaver; # new handle may be selected, or not } # previous handle is selected DESCRIPTION A

Tie::Scalar - base class definitions for tied scalars

, 'NewScalar'; tie $new_std_scalar, 'NewStdScalar'; DESCRIPTION This module provides some skeletal ... Associates a new scalar instance with the specified class.

Tie::Hash - base class definitions for tied hashes

, 'NewHash'; tie %new_std_hash, 'NewStdHash'; DESCRIPTION This module provides some skeletal methods ... Associates a new hash instance with the specified class.

perlxs - XS language reference manual

delete THIS; If the function's name is new then the C++ new function will be called to create a dynamic ... color * color::new() The C++ code will call new.

AnyDBM_File - provide framework for multiple DBMs

This way old programs that used to use NDBM via dbmopen() can still do so, but new ones can reorder @ ... trivial to copy database formats: use POSIX; use NDBM_File; use DB_File; tie %newhash, 'DB_File', $new_filename

B - The Perl Compiler

The B module is of use to those who want to write new compiler backends.

perlbot - Bag'o Object Tricks (the BOT)

A subclass may want to override that data and replace it with new data. ... bless $self, $type; } package main; $a = Bar->new; $b = Foo->new; $a->enter; $b->enter; INHERITING

IO::Select - OO interface to the select system call

CONSTRUCTOR new ( [ HANDLES ] ) The constructor creates a new object and optionally initialises ... socket $new = $lsn->accept; $sel->add($new); } else {

ExtUtils::Packlist - manage .packlist files

The new() method returns a reference to a hash. ... If no file is specified, the .packlist specified to new() will be read.

IO::Socket - Object interface to socket communications

(see the Symbol package). new optionally takes arguments, these arguments are in key-value pairs. new ... In a scalar context the new socket is returned, or undef upon failure.

perlguts - Perl's Internal Functions

The six routines are: SV* newSViv(IV); SV* newSVnv(double); SV* newSVpv(char*, int); SV* newSVpvn ... void* New( x, void *ptr, int size, type ) newAV Creates a new AV.

Class::Struct - declare struct-like datatypes as Perl classes

The new class is given a constructor method, new, for creating struct objects. ... A function named new must not be explicitly defined in a class created by struct.

perltoot - Tom's object-oriented tutorial for perl

Person::new() is the function that both the Person->new() method and the Employee->new() method end up ... () Person::new("Person") Employee->new() Person::new("Employee") So don't use function

IO::Pipe - supply object methods for pipes

NAME IO::pipe - supply object methods for pipes SYNOPSIS use IO::Pipe; $pipe = new IO::Pipe; if( ... If no arguments are given then method handles is called on the new IO::Pipe object.

perlobj - Perl objects

Here is a typical constructor: package Critter; sub new { bless {} } That word new isn't special. ... Saying new Critter ('Bam' x 2), 1.4, 45 would be equivalent to Critter->new('Bam' x 2), 1.4, 45 which

Data::Dumper - stringified perl data structures, suitable for both printing and eval

Same rules apply for names as in new. ... ; package main; $foo = Foo->new; $fuz = Fuz->new; $boo = [ 1, [], "abcd", \*foo, {1 =>

IO::File - supply object methods for filehandles

NAME IO::File - supply object methods for filehandles SYNOPSIS use IO::File; $fh = new IO::File; ... CONSTRUCTOR new ([ ARGS ] ) Creates a IO::File.

CGI::Cookie - Interface to Netscape Cookies

cookies and send them $cookie1 = new CGI::Cookie(-name=>'ID',-value=>123456); $cookie2 = new CGI::Cookie ... Creating New Cookies $c = new CGI::Cookie(-name => 'foo', -value => 'bar

CGI::Fast - CGI Interface for Fast CGI

time there's a new request, CGI::Fast returns a CGI object to your loop. ... The rest of the time your script waits in the call to new().

FileHandle - supply object methods for filehandles

NAME FileHandle - supply object methods for filehandles SYNOPSIS use FileHandle; $fh = new FileHandle ... FileHandle::new_from_fd creates a FileHandle like new does.

IPC::Msg - SysV Msg IPC object class

( KEY , FLAGS ) Creates a new message queue associated with KEY. ... On creation of a new message queue FLAGS is used to set the permissions.

Tie::Array - base class for tied arrays

NAME Tie::Array - base class for tied arrays SYNOPSIS package NewArray; use Tie::Array; @ISA = ... ; $object = tie @somearray,Tie::StdArray; $object = tie @somearray,Tie::NewStdArray; DESCRIPTION

IPC::Semaphore - SysV Semaphore IPC object class

( KEY , NSEMS , FLAGS ) Create a new semaphore set associated with KEY. ... On creation of a new semaphore set FLAGS is used to set the permissions.

CGI::Push - Simple Interface to Server Push

Every time your subroutine is called, it generates a new page. ... CAVEATS This is a new module. It hasn't been extensively tested.

IO::Handle - supply object methods for I/O handles

() Creates a new IO::Handle object. ... new_from_fd ( FD, MODE ) Creates a IO::Handle like new does.

perlcall - Perl calling conventions from C

to the variable keepSub in one operation using newSVsv. ... \n") ; PUSHMARK(SP) ; XPUSHs(sv_2mortal(newSViv(fh))) ; XPUSHs(sv_2mortal(newSVpv(buffer

perllol - Manipulating Lists of Lists in Perl

That's all well and good for declaration of a fixed data structure, but what if you wanted to add new ... What about adding new columns?

CGI - Simple Common Gateway Interface Class

CGI; $new_query = new CGI($old_query); To create an empty query, initialize it from an empty string ... '}, "Open a new frame"); <A HREF="fred.html",TARGET="_new">Open a new frame</A> You

Term::ReadLine - Perl interface to various readline packages. If no real package is found, substitutes stubs instead of basic functions.

new returns the handle for subsequent calls to following functions. ... newTTY takes two arguments which are input filehandle and output filehandle.

Safe - Compile and execute code in restricted compartments

Each compartment has a new namespace The "root" of the namespace (i.e. ... Methods in class Safe To create a new compartment, use $cpt = new Safe; Optional argument is (NAMESPACE

Net::Ping - check a remote host for reachability

NAME Net::Ping - check a remote host for reachability SYNOPSIS use Net::Ping; $p = Net::Ping->new ... Functions Net::Ping->new([$proto [, $def_timeout [, $bytes]]]); Create a new ping object.

perltie - how to hide an object class in a simple variable

$new_nicety = PRIO_MIN; } if ($new_nicety > PRIO_MAX) { carp sprintf "WARNING ... $new_nicety = PRIO_MAX; } unless (defined setpriority(PRIO_PROCESS, $$self, $new_nicety)) {

fields - compile-time class fields

class fields SYNOPSIS { package Foo; use fields qw(foo bar _private); } ... my Foo $var = new ... The 'base' pragma will copy fields from base classes and the 'fields' pragma adds new fields.

I18N::Collate - compare 8-bit scalar data according to the current locale

according to the current locale HAS BEEN DEPRECATED That is, please do not use it anymore for any new ... information. *** SYNOPSIS use I18N::Collate; setlocale(LC_COLLATE, 'locale-of-your-choice'); $s1 = new

POSIX - Perl interface to IEEE Std 1003.1

POSIX::SigSet new Create a new SigSet object. ... Create a new Termios object.

File::Copy - Copy files or filehandles",\*STDOUT);' move("/dev1/fileA","/dev2/fileB"); use POSIX; use File::Copy cp; $n=FileHandle->new ... Otherwise, it copies the file to the new location and deletes the original.

ExtUtils::Installed - Inventory management of installed modules

management of installed modules SYNOPSIS use ExtUtils::Installed; my ($inst) = ExtUtils::Installed->new ... FUNCTIONS new() This takes no parameters, and searches for all the installed .packlists on the system

Benchmark - benchmark running times of code

Methods new Returns the current time. ... Example: use Benchmark; $t0 = new Benchmark; # ... your code here ...

perlxstut - Tutorial for XSUBs

new features. ... WHAT'S NEW HERE? Two things are new here. First, we've made some changes to Makefile.PL.

perldsc - Perl Data Structures Cookbook

reference with a new copy of the data. ... (keys %new_folks) { $HoH{flintstones}{$what} = $new_folks{$what}; } Access and Printing of a HASH

Math::BigFloat - Arbitrary length float math package

:BigFloat - Arbitrary length float math package SYNOPSIS use Math::BigFloat; $f = Math::BigFloat->new ... DESCRIPTION All basic math operations are overloaded if you declare your big floats as $float = new

ExtUtils::MakeMaker - create an extension Makefile

SYNOPSIS use ExtUtils::MakeMaker; WriteMakefile( ATTRIBUTE => VALUE [, ...] ); which is really MM->new ... Static Linking of a new Perl Binary An extension that is built with the above steps is ready to use

perlsub - Perl subroutines

This is an efficiency mechanism that new users may wish to avoid. ... The prototype affects only the interpretation of new-style calls to the function, where new-style is

Math::BigInt - Arbitrary size integer math package

Math::BigInt - Arbitrary size integer math package SYNOPSIS use Math::BigInt; $i = Math::BigInt->new ... normalization DESCRIPTION All basic math operations are overloaded if you declare your big integers as $i = new

perlembed - how to embed perl in your C program

First you'll need to know how to convert between C types and Perl types, with newSViv() and sv_setnv( ... ) and newAV() and all their friends.

perltrap - Perl traps for the unwary

Parsing Traps Traps that appear to stem from the new parser. ... @x = ('existing'); print push(@x, 'first new', 'second new'); # perl4 prints: second new # perl5 prints

overload - Package for overloading perl operations

package main; $a = new SomeThing 57; $b=5+$a; ... if (overload::Overloaded $b) {...} ... ... The cache is invalidated during processing of use overload, no overload, new function definitions, and

perlref - Perl references and nested data structures

Constructors are often named new() and called indirectly: $objref = new Doggie (Tail => 'short', Ears ... Its disadvantage is that it won't create a new filehandle for you.

perl - Practical Extraction and Report Language

Simplified grammar The new yacc grammar is one half the size of the old one. ... POSIX compliant A major new module is the POSIX module, which provides access to all available POSIX

perlipc - Perl interprocess communication (signals, fifos, pipes, safe subprocesses, sockets, and semaphores)

file, the reading program will block and your program will supply the new signature. ... (Actually, some of the new Socket conversion functions croak() on bad arguments.)

DB_File - Perl5 access to Berkeley DB version 1.x

$a = new DB_File::HASHINFO ; $a->{'bsize'} ; $a->{'cachesize'} ; $a->{'ffactor'}; $a->{'hash'} ; $a-> ... $i = 2 ; $H->put($i, "Newbie", R_IAFTER) ; # and a new record before record 1.

DynaLoader - Dynamically load C libraries into Perl code

This document serves as both a specification for anyone wishing to implement the DynaLoader for a new ... This is simply a direct call to newXSUB(). Returns a reference to the installed function.

Getopt::Long - extended processing of command line options

With the new syntax --vax would be a single option, probably indicating a computer architecture. ... If a REF ARRAY is supplied, the new value is appended (pushed) to the referenced array.

DirHandle - supply object methods for directory handles

NAME DirHandle - supply object methods for directory handles SYNOPSIS use DirHandle; $d = new DirHandle

perlmodinstall - Installing CPAN Modules

reason you have a statically-linked perl, and the module requires compilation, you'll need to build a new ... If it does, Overview: You need MPW and a combination of new and old CodeWarrior compilers for MPW and

ExtUtils::Miniperl - write the C code for perlmain.c

of directories containing archive libraries that relate to perl modules and should be linked into a new

Shell - run shell commands transparently within perl> To: From: Larry Wall <> Subject: a new

CGI::Apache - Make things work with against Perl-Apache API

Apache - Make things work with against Perl-Apache API SYNOPSIS require CGI::Apache; my $q = new

perlfunc - Perl builtin functions

\n" unless chdir '/usr/spool/news'; chdir '/usr/spool/news' or die "Can't cd to spool: $! ... Returns the new number of elements in the array.

Tie::SubstrHash - Fixed-table-size, fixed-key-length hashing

Upon tying a new hash to this package, the developer must specify the size of the keys that will be used

Fcntl - load the C Fcntl.h defines

For new applications the newer versions of these constants are suggested (O_APPEND, O_ASYNC, O_CREAT,

Term::Cap - Perl termcap interface

EXAMPLES # Get terminal output speed require POSIX; my $termios = new POSIX::Termios; $termios->getattr

B::Deparse - Perl compiler backend to produce perl code

Please note that this module is mainly new and untested code and is still under development, so it may

Test - Test::Harness expects to see particular output when it executes tests. This module aims to make writing proper test scripts just a little bit easier (and less error prone :-).

These tests are expected NOT to succeed (otherwise the feature they test would be on the new feature

perlvar - Perl predefined variables

The methods each take an optional EXPR, which if supplied specifies the new value for the FileHandle ... This is a new mechanism and the details may change.

ExtUtils::Manifest - utilities to write and check a MANIFEST file

existing MANIFEST file and includes any comments that are found in the existing MANIFEST file in the new

perldata - Perl data types

Another use for typeglobs is to to pass filehandles into a function or to create new filehandles. ... In other words, *FH can be used to create new symbol table entries, but *foo{THING} cannot.

perlre - Perl regular expressions

In fact, any of these modifiers may also be embedded within the regular expression itself using the new ... A question mark was chosen for this and for the new minimal-matching construct because 1) question mark

perllocale - Perl locale handling (internationalization and localization)

If you make the new settings permanent (read on), all programs you run see the changes. ... This module is now mildly obsolete and should be avoided in new applications.

perldebug - Perl debugging

R Restart the debugger by execing a new session. ... Big allocations with this Id correspond to allocations of new arenas to keep HE. 602 creates a GP

ExtUtils::Embed - Utilities for embedding Perl in C/C++ applications

xsi_body(@modules) This function returns a string of calls to newXS() that glue the module bootstrap

AutoLoader - load subroutines only on demand

Any old modules which use AutoLoader should be changed to the new calling style.

Math::Complex - complex numbers and associated mathematical functions

A new operation possible on a complex number that is the identity for real numbers is called the conjugate ... Otherwise whatever you specify will be the new display format for this particular number.

perlstyle - Perl style guide

Use the new "and" and "or" operators to avoid having to parenthesize list operators so much, and to reduce

ExtUtils::MM_VMS - methods to override UN*X behaviour in ExtUtils::MakeMaker

makeaperl (override) Undertake to build a new set of Perl images using VMS commands.

perlsyn - Perl syntax

It's safer because if code gets added between the inner and outer loops later on, the new code won't ... While it's expecting the beginning of a new statement, if the compiler encounters a line that begins

ExtUtils::MM_Unix - methods used by ExtUtils::MakeMaker

Defines how to write the Makefile to produce a static new perl.

perldiag - various Perl diagnostics

Can't do inplace edit on %s: %s (S) The creation of the new file failed for the indicated reason. ... You must put parentheses around the filehandle, or use the new "or" operator instead of "||".

perlop - Perl operators and precedence

. $_ = <<'EOL'; $url = new URI::URL "http://www/"; die if $url eq "xXx"; EOL LOOP: { ... A glob evaluates its (embedded) argument only when it is starting a new list.

Opcode - Disable named opcodes when compiling perl code

To create new filehandles other ops such as open would need to be enabled.

perlport - Writing portable Perl

The good news is that at least some DBM module should be available, and AnyDBM_File will use whichever ... These CPAN testers are notified by e-mail of each new upload, and reply to the list with PASS, FAIL,

perlmod - Perl modules (packages and symbol tables)

This also helps to differentiate new modules from old .pl and .ph files.

perlrun - how to execute the Perl interpreter

It has been superseded by the new perl-to-C compiler, which is more portable, even though it's still