NAME feature - Perl pragma to enable new syntactic features SYNOPSIS use feature qw(switch say); given ... ':5.10'; # loads all features available in perl 5.10 DESCRIPTION It is usually impossible to add new
NAME perlnewmod - preparing a new module for distribution DESCRIPTION This document gives you some ... Check it's new There are a lot of modules on CPAN, and it's easy to miss one that's similar to what
Modules and Pragmata New Modules and Pragmata autodie This is a new lexically-scoped alternative ... New Tests Many modules updated from CPAN incorporate new tests.
Try to design the new module to be easy to extend and reuse. ... ->new(); ?
( $backend_object ); Sets up a new selfupdate object. ... Called automatically when a new backend object is created.
SYNOPSIS use Dumpvalue; my $dumper = Dumpvalue->new; $dumper->set(globPrint => 1); $dumper->dumpValue ... ); $dumper->dumpvars('main'); my $dump = $dumper->stringify($some_value); DESCRIPTION Creation A new
VERSION Version 3.17 SYNOPSIS use TAP::Parser::Scheduler; DESCRIPTION METHODS Class Methods new ... my $sched = TAP::Parser::Scheduler->new; Returns a new TAP::Parser::Scheduler object.
It's up to the engine to make sure this is used as the new value (or reject it). ... pattern instead of compiling a new one.
=> ENCODING); DESCRIPTION Allows newName to be used as an alias for ENCODING. ... to make the new definition available
Returns the new file position, or -1 if an error occurs.
newRV_inc newRV_noinc newSV_type newSVpvn newSVpvn_flags newSVpvn_share newSVpvn_utf8 newSVpvs newSVpvs_flags ... newATTRSUB newXS newXSproto new_collate new_ctype new_numeric op_dump perl_parse pmop_dump re_intuit_string
- save and restore selected file handle SYNOPSIS use SelectSaver; { my $saver = SelectSaver->new ... ; # new handle may be selected, or not } # previous handle is selected DESCRIPTION A SelectSaver
SYNOPSIS use Pod::Plainer; my $parser = Pod::Plainer -> new (); $parser -> parse_from_filehandle(\* ... This can be used to pre-process Pod before using tools which do not recognise the new style Pods.
, 'NewScalar'; tie $new_std_scalar, 'NewStdScalar'; DESCRIPTION This module provides some skeletal ... Associates a new scalar instance with the specified class.
NAME Tie::Handle - base class definitions for tied handles SYNOPSIS package NewHandle; require Tie ... Associates a new glob instance with the specified class.
, 'NewHash'; tie %new_std_hash, 'NewStdHash'; tie %new_extra_hash, 'NewExtraHash', sub {warn "Doing ... Associates a new hash instance with the specified class.
Interpreter threads are different from 5005threads (the thread model of Perl 5.005) by creating a new ... $old_size = threads->set_stack_size($new_size); Sets a new default per-thread stack size, and returns
If Perl is configured to use the new 'perlio' IO system then Encode provides a "layer" (see PerlIO) which ... iliad.utf8'); my @epic = <$iliad>; print $utf8 @epic; close($utf8); close($illiad); In addition, the new
This means that programmers need new habits. ... Your new toolkit Add to your standard heading the following line: use Encode qw(encode decode); Or
If you're writing new code consider using TAP::Harness directly instead.
NAME perlmroapi - Perl method resolution plugin interface DESCRIPTION As of Perl 5.10.1 there is a new
and all its state, and run the cloned interpreter in a separate thread, beginning execution in the new ... This limitation can be easily worked around in new code by creating a pipe explicitly.
then the C++ new function will be called to create a dynamic C++ object. ... color * color::new() The generated C++ code will call new.
It is intended as a "bootstrap" guide for those who are new to the language, and provides just enough
Version 0.77 introduces the new 'parse' and 'declare' methods to standardize usage. ... ->new(v2.5.4); # legal only in Perl >= 5.8.1 What about v-strings?
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
USA: Chicago, New York, Washington. ... , and $aref2 is assigned a reference to the new array.
were still rare and many users instead chose to write scripts in legacy encodings, giving up a whole new ... strings operating under byte semantics and strings with Unicode character data are concatenated, the new
The B module is of use to those who want to write new compiler backends. ... B::FM For 5.11.0 and later, B::RV is abolished, and IVs can be used to store references, and a new
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
new() $x = Math::BigRat->new('1/3'); Create a new Math::BigRat object. ... w/ floats $x = Math::BigRat->new(Math::BigInt->new(3)); # BigInt $x = Math::BigRat->new(Math
: $v1 = version->new(12.3); $v2 = version->new($v1); or as an object method: $v1 = version->new(12.3 ... NOTE: if you create a new object using an existing object like this: $v2 = $v1->new(); the new object
It has the following methods/attributes: Pod::Paragraph->new() my $pod_para1 = Pod::Paragraph->new( ... Pod::ParseTree->new() my $ptree1 = Pod::ParseTree->new; my $ptree2 = new Pod::ParseTree; my $ptree4
The following methods are available: Pod::List->new() Create a new list object. ... The following methods are available: Pod::Cache->new() Create a new cache object.
METHODS Class Methods new Create a new object. ... Any arguments passed to new will be passed on to the "_initialize" method. Returns a new object.
{ my $class = shift; my $self = fields::new($class); $self->SUPER::new(); ... The following functions are supported: new perl before 5.9.0: fields::new() creates and blesses
Archive::Tar::File->new( data => $path, $data, $opt ) Returns a new Archive::Tar::File object from data ... $bool = $file->rename( $new_name ) Rename the current file to $new_name.
The new class is given a constructor method, new, for creating struct objects. ... Initializing with new struct always creates a constructor called new.
(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.
The new() method returns a reference to a hash. ... If no file is specified, the .packlist specified to new() will be read.
CONSTRUCTOR new ( [ HANDLES ] ) The constructor creates a new object and optionally initialises ... $new = $lsn->accept; $sel->add($new); } else { #
new() $x = Math::BigInt->new($str,$A,$P,$R); Creates a new BigInt object from a scalar or another BigInt ... batan2() my $x = Math::BigInt->new(1); my $y = Math::BigInt->new(1); print $y->batan2($x), "\n"; Calculate
->new( 1 )->batan2( 1 ,100); # batan(1) my $atan2 = Math::BigFloat->new( 1 )->batan2( 8 ,100); # ... batan2() my $y = Math::BigFloat->new(2); my $x = Math::BigFloat->new(3); print $y->batan2($x), "\n";
The simplest, straightforward way to create a thread is with new(): use Thread; $thr = Thread->new ... ->new(\&thread_sub, 2); Thread->new(\&thread_sub, 3); Thread->new(\&thread_sub, 4); sub sync_sub :locked
], ) my $harness = TAP::Harness->new( \%args ); The constructor returns a new TAP::Harness object. ... my $formatter = TAP::Formatter::Console->new; my $ser_harness = TAP::Harness->new( { formatter => $
XS The following Win32-Methods are built-in: newXS("Win32::GetCwd", w32_GetCwd, file); newXS("Win32 ... , file); newXS("Win32::IsWinCE", w32_IsWinCE, file); newXS("Win32::CopyFile", w32_CopyFile, file); newXS
FUNCTIONS $thread = Thread->new(\&start_sub) $thread = Thread->new(\&start_sub, LIST) new starts ... Like Thread->new, async returns a thread object.
SV* newRV_noinc(SV* sv) newSV Creates a new SV. ... SV* newSVuv(UV u) newSV_type Creates a new SV, of the type specified.
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
Cookie - Interface to Netscape Cookies SYNOPSIS use CGI qw/:standard/; use CGI::Cookie; # Create new ... cookies and send them $cookie1 = new CGI::Cookie(-name=>'ID',-value=>123456); $cookie2 = new CGI::Cookie
METHODS Class Methods new Creates a new factory class. ... make_process_iterator Make a new process iterator and return it.
NAME IO::File - supply object methods for filehandles SYNOPSIS use IO::File; $fh = new IO::File; ... CONSTRUCTOR new ( FILENAME [,MODE [,PERMS]] ) Creates an IO::File.
Digest->new("SHA-1"); $sha256 = Digest->new("SHA-256"); $sha384 = Digest->new("SHA-384"); $sha512 = Digest ... $ctx = Digest->new(XXX => $arg,...) $ctx = Digest::XXX->new($arg,...)
See the new() method for details. ... See the new() method for details.
my $parser = TAP::Parser->new(\%args); Returns a new TAP::Parser object. ... See "new" for more details.
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.
The rest of the time your script waits in the call to new(). ... When the server requests that your script be terminated, new() will return undef.
object $obj = Object::Accessor->new(@list); # create object with accessors $obj = Object::Accessor->new ... METHODS $object = Object::Accessor->new( [ARGS] ); Creates a new (and empty) Object::Accessor object
In general this will probably be 'new' but it can be whatever you want. ... $self->search_path( add => "New::Path" ); # add $self->search_path( new => "New::Path" ); # replace
= $old; $new =~ s#(.*)\.tar\.gz$#$1.tgz# ; rename $old => $new or die "Cannot rename ... '$old' to '$new': $!
(): my $build = Module::Build->new ( ... ... To do this, use the install_path parameter to the new() method: my $build = Module::Build->new (
A new Net::SMTP object must be created with the new method. ... Use "Debug => 1" option under new() to see if disabled.
METHODS $Configure = CPANPLUS::Configure->new( load_configs => BOOL ) This method returns a new object ... be examined again to see if there are new config files that could be read.
Here is a typical constructor: package Critter; sub new { bless {} } That word new isn't special. ... The new class is responsible for all cleanup later.
Class Methods new my %args = ( verbose => 1, ) my $harness = TAP::Formatter::Console->new( \%args ... open_test Called to create a new test session.
So we test new(). #! ... /usr/bin/perl -w use Test::Simple tests => 2; use Date::ICal; my $ical = Date::ICal->new;
The seven routines are: SV* newSViv(IV); SV* newSVuv(UV); SV* newSVnv(double); SV* newSVpv(const ... char*, STRLEN); SV* newSVpvn(const char*, STRLEN); SV* newSVpvf(const char*, ...); SV* newSVsv(SV
new features. ... rh = (HV *)sv_2mortal((SV *)newHV()); hv_store(rh, "f_bavail", 8, newSVnv(buf.f_bavail),
describes Thread::Semaphore version 2.09 SYNOPSIS use Thread::Semaphore; my $s = Thread::Semaphore->new ... METHODS ->new() ->new(NUMBER) new creates a new semaphore, and initializes its count to the specified
NAME FileHandle - supply object methods for filehandles SYNOPSIS use FileHandle; $fh = FileHandle->new ... FileHandle::new_from_fd creates a FileHandle like new does.
CONSTRUCTOR new ( [ARGS] ) Creates an IO::Socket::INET object, which is a reference to a newly created ... symbol (see the Symbol package). new optionally takes arguments, these arguments are in key-value pairs
management of installed modules SYNOPSIS use ExtUtils::Installed; my ($inst) = ExtUtils::Installed->new ... See the 'default' option to new() for details. new() This takes optional named parameters.
(string) return ref to new object from ref to decimal string _zero() return a new object ... with value 0 _one() return a new object with value 1 _two() return a new object with
new returns the handle for subsequent calls to following functions. ... newTTY takes two arguments which are input filehandle and output filehandle.
NAME CPANPLUS::Module::Fake SYNOPSIS my $obj = CPANPLUS::Module::Fake->new( module => ... It can take more options (same as CPANPLUS::Module->new but the above are required.
one => 1, two => 2, three => [ 1, 2, 3 ], }; my $yw = TAP::Parser::YAMLish::Writer->new ... METHODS Class Methods new my $writer = TAP::Parser::YAMLish::Writer->new; The constructor new creates
METHODS new ( KEY , FLAGS ) Creates a new message queue associated with KEY. ... On creation of a new message queue FLAGS is used to set the permissions.
to the variable keepSub in one operation using newSVsv. ... \n"); PUSHMARK(SP); XPUSHs(sv_2mortal(newSViv(fh))); XPUSHs(sv_2mortal(newSVpv(buffer, 0
Same rules apply for names as in new. ... package main; $foo = Foo->new; $fuz = Fuz->new; $boo = [ 1, [], "abcd", \*foo, {1 => 'a',
mechanism; SYNOPSIS use Log::Message private => 0, config => '/our/cf_file'; my $log = Log::Message->new ... The default is to return the newest ones first Methods new This creates a new Log::Message object
post ( [ MESSAGE ] ) Post a new article to the news server. ... postfh () Post a new article to the news server using a tied filehandle.
METHODS Class Methods new Creates a new factory class. ... TAP::Parser::Result->new is never called, $tokens are reblessed.
The following methods are provided: $md5 = Digest::MD5->new The constructor returns a new Digest ... No new object is created in this case. $md5->reset This is just an alias for $md5->new.
A new Net::POP3 object must be created with the new method. ... CONSTRUCTOR new ( [ HOST ] [, OPTIONS ] 0 This is the constructor for a new Net::POP3 object.
NAME Tie::Array - base class for tied arrays SYNOPSIS package Tie::NewArray; use Tie::Array; @ISA ... ; $object = tie @somearray,Tie::StdArray; $object = tie @somearray,Tie::NewStdArray; DESCRIPTION This
METHODS new ( KEY , SIZE , FLAGS ) Creates a new shared memory segment associated with KEY. ... On creation of a new shared memory segment FLAGS is used to set the permissions.
something like the following code will typically be used: use Module::Build; my $build = Module::Build->new ... get away with something as short as this for its Build.PL script: use Module::Build; Module::Build->new
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?
NAME CPANPLUS::Dist SYNOPSIS my $dist = CPANPLUS::Dist::YOUR_DIST_TYPE_HERE->new( ... $dist = CPANPLUS::Dist::YOUR_DIST_TYPE_HERE->new( module => MODOBJ ); Create a new CPANPLUS::Dist::YOUR_DIST_TYPE_HERE
METHODS new ( 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.
OOP style new($alg) Returns a new Digest::SHA object. ... Invoking new as an instance method will not create a new object; instead, it will simply reset the object
void refcounted_he_free(struct refcounted_he *he) refcounted_he_new Creates a new struct refcounted_he ... void pad_leavemy() pad_new Create a new compiling padlist, saving and updating the various global
"n" Stands for "New file only". ... MoveFileW MoveFileW( $swOldName, $swNewName ) $swOldName and $swNewName are Unicode.
documents in directory trees SYNOPSIS use Pod::Simple::Search; my $name2path = Pod::Simple::Search->new ... CONSTRUCTOR This class provides the one constructor, called new.
VERSION Version 3.17 SYNOPSIS use TAP::Parser::Multiplexer; my $mux = TAP::Parser::Multiplexer->new ... METHODS Class Methods new my $mux = TAP::Parser::Multiplexer->new; Returns a new TAP::Parser::Multiplexer
source VERSION Version 3.17 SYNOPSIS use TAP::Parser::Source; my $source = TAP::Parser::Source->new ... METHODS Class Methods new my $source = TAP::Parser::Source->new; Returns a new TAP::Parser::Source
METHODS new( ok => BOOL, args => DATA, rv => DATA, [function => $method_name] ) Creates a new CPANPLUS ... If not, new() will try to deduce the name from caller() information.
new() [version 0.03] Creates a new Module::Build object. ... Arguments to the new() method are listed below.
Second, we create a new tied hash each time the hash syntax is used. ... After this change one can do my $a = symbolic->new(3); my $b = symbolic->new(4); my $c = sqrt($a**2
new() is a synonym for create(). ... When a new Perl thread is created, all the data associated with the current thread is copied to the new
See Pod::Parser for all the details; briefly, one creates a new parser with Pod::PlainText->new() and ... Please change to the new calling convention, though.
NAME IO::Dir - supply object methods for directory handles SYNOPSIS use IO::Dir; $d = IO::Dir->new ... new ( [ DIRNAME ] ) new is the constructor for IO::Dir objects.
a new App::Prove::State::Result instance. ... Will return a new App::Prove::State::Result::Test instance if the name is not found.
CONSTRUCTOR new () Creates a new IO::Handle object. ... new_from_fd ( FD, MODE ) Creates an IO::Handle like new does.
format Pod as validating XHTML SYNOPSIS use Pod::Simple::XHTML; my $parser = Pod::Simple::XHTML->new ... In your subclass's new method, after calling SUPER::new you'd call: $new->accept_targets_as_text( 'foo
NAME CPANPLUS::Module::Author::Fake SYNOPSIS my $auth = CPANPLUS::Module::Author::Fake->new( ... METHODS new( _id => DIGIT ) Creates a dummy author object.
VERSION Version 3.17 SYNOPSIS use TAP::Parser::Source::Perl; my $perl = TAP::Parser::Source::Perl->new ... METHODS Class Methods new my $perl = TAP::Parser::Source::Perl->new; Returns a new TAP::Parser::Source
new() my $parser = Pod::Parser->new(); This is the constructor for Pod::Parser and its subclasses. ... (); my $parser2 = new MyParser(); my $parser3 = $parser2->new(); where MyParser is some subclass of
METHODS Class Methods new my $job = TAP::Parser::Scheduler::Spinner->new; Returns a new TAP::Parser
Every time your subroutine is called, it generates a new page. ... USING CGI::Push CGI::Push adds one new method to the standard CGI suite, do_push().
my %args = ( formatter => $self, ) my $harness = TAP::Formatter::Console::Session->new( \%args ) ... ; The constructor returns a new TAP::Formatter::Console::Session object.
METHODS Class Methods new my $job = TAP::Parser::Scheduler::Job->new( $name, $desc ); Returns ... a new TAP::Parser::Scheduler::Job object.
instead"); new(@_); } sub new ... 1; The function open has been deprecated, so code has been included ... ->new(); $a->doit(1); When this code is run only the Derived object, $b, will generate a warning.
package Some_Class; our($CData1, $CData2); # our() is new to perl5.6 sub new { my $ ... But if you store a new value to them, that new value is set on the current object.
SYNOPSIS use TAP::Formatter::Color; my $harness = TAP::Formatter::Color->new( \%args ); $harness->runtests ... (@tests); METHODS Class Methods new The constructor returns a new TAP::Formatter::Color object.
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
QUEUE CREATION ->new() Creates a new empty queue. ... ->new(LIST) Creates a new queue pre-populated with the provided list of items.
METHODS Class Methods new The constructor new creates and returns an empty TAP::Parser::YAMLish::Reader ... my $reader = TAP::Parser::YAMLish::Reader->new; Instance Methods read my $got = $reader->read($stream
VERSION Version 3.17 SYNOPSIS use TAP::Parser::Aggregator; my $aggregate = TAP::Parser::Aggregator->new ... METHODS Class Methods new my $aggregate = TAP::Parser::Aggregator->new; Returns a new TAP::Parser
literature), perl.com provides current Perl news, articles, and resources for Perl developers as well ... http://use.perl.org/ use Perl; provides a slashdot-style Perl news website covering all things Perl
.}; my $result = TAP::Parser::Result->new( $token ); DESCRIPTION This is a simple base class used by ... ::Parser::Result->new($token); Returns an instance the appropriate class for the test token passed in
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 may
Object Methods Archive::Tar->new( [$file, $compressed] ) Returns a new Tar object. ... $tar->rename( $file, $new_name ) Rename the file of the in-memory archive to $new_name.
Compile and link C code for Perl modules SYNOPSIS use ExtUtils::CBuilder; my $b = ExtUtils::CBuilder->new ... METHODS new Returns a new ExtUtils::CBuilder object.
See Pod::Simple for all the details; briefly, one creates a new parser with Pod::Text->new() and then ... Please change to the new calling convention, though.
You can also add new ones using "add_callback". #addr The address of the OP, in hexadecimal. ... It has one minor drawback though; it doesn't register the style under a new name.
newStream([OPTS]) Usage is $z->newStream( [OPTS] ) Closes the current compressed data stream and starts ... a new one.
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 [, $device [, $tos ]]]]]); Create a new
debugger, we need to be able to get a new IN and OUT filehandle for the new debugger. ... create_IN_OUT($flags) Create a new pair of filehandles, pointing to a new TTY.
SYNOPSIS use App::Prove; my $app = App::Prove->new; $app->process_args(@ARGV); $app->run; METHODS ... Class Methods new Create a new App::Prove.
SYNOPSIS use I18N::Collate; setlocale(LC_COLLATE, 'locale-of-your-choice'); $s1 = I18N::Collate->new ... ("scalar_data_1"); $s2 = I18N::Collate->new("scalar_data_2"); DESCRIPTION *** WARNING: starting from
$new_nicety = PRIO_MIN; } if ($new_nicety > PRIO_MAX) { carp sprintf "WARNING ... $new_nicety = PRIO_MAX; } unless (defined setpriority(PRIO_PROCESS, $$self, $new_nicety)) {
Interface to bzip2 compression library SYNOPSIS use Compress::Raw::Bzip2 ; my ($bz, $status) = new ... a new compression object.
So, we call newBINOP to create a new binary operator. ... Exporting your new function The new shiny result of either genuine new functionality or your arduous
METHODS $cb = CPANPLUS::Backend->new( [CONFIGURE_OBJ] ) This method returns a new CPANPLUS::Backend ... This will then be re-loaded into memory when a new session starts.
METHODS Class Methods new my $grammar = TAP::Parser::Grammar->new({ stream => $stream, parser ... the basic TAP parsing loop looks similar to the following: my @tokens; my $grammar = TAP::Grammar->new
That takes away the user's freedom to choose what permission new files will have. ... ; IO Layers In Perl 5.8.0 a new I/O framework called "PerlIO" was introduced.
Note that the new argument style and use of the %result hash is recommended. ... Input is the contents of the module, output the new module contents.
Pod::LaTeX - Convert Pod data to formatted Latex SYNOPSIS use Pod::LaTeX; my $parser = Pod::LaTeX->new ... $parser->StartWithNewPage(1); $newpage = $parser->StartWithNewPage; Default is false.
newStream([OPTS]) Usage is $z->newStream( [OPTS] ) Closes the current compressed data stream and starts ... a new one.
newStream([OPTS]) Usage is $z->newStream( [OPTS] ) Closes the current compressed data stream and starts ... a new one.
Simple::PullParser -- a pull-parser interface to parsing Pod SYNOPSIS my $parser = SomePodProcessor->new ... ; $parser->set_source( "whatever.pod" ); $parser->run; Or: my $parser = SomePodProcessor->new; $parser
The following tokens are recognized; they may be separated by spaces, tabs, or new-lines: machine ... new object.
new_ok my $obj = new_ok( $class ); my $obj = new_ok( $class => \@args ); my $obj = new_ok( $class = ... This function only works on new() and it assumes new() will return just a single object which isa $class
POSIX::SigSet new Create a new SigSet object. ... Create a new Termios object.
Constructor and Tailoring The new method returns a collator object. ... , a collator via Unicode::Collate->new(variable => "non-ignorable", level => 3).
Low-Level Interface to zlib compression library SYNOPSIS use Compress::Raw::Zlib ; ($d, $status) = new ... >total_out() ; $d->msg() ; $d->get_Strategy(); $d->get_Level(); $d->get_BufSize(); ($i, $status) = new
copy("Copy.pm",\*STDOUT); move("/dev1/fileA","/dev2/fileB"); use File::Copy "cp"; $n = FileHandle->new ... Otherwise, it copies the file to the new location and deletes the original.
- keep sets of symbol names palatable to the VMS linker SYNOPSIS use ExtUtils::XSSymSet; $set = new ... new([$maxlen[,$silent]]) Creates an empty ExtUtils::XSSymset set of symbols.
version of Perl to a new location, and copy the installed files to this new location. ... dll to the "new" perl????.dll.
NAME Tie::StdHandle - base class definitions for tied handles SYNOPSIS package NewHandle; require ... a needed method sub TIEHANDLE { ... } # Overrides inherited method package main; tie *FH, 'NewHandle
my $btaste = Film->new({ Title => 'Bad Taste', Director => 'Peter Jackson ... NumExplodingSheep => 1 }); ok( defined($btaste) && ref $btaste eq 'Film, 'new
Zlib SYNOPSIS With any version of Perl 5 you can use the basic OO interface: use IO::Zlib; $fh = new ... CONSTRUCTOR new ( [ARGS] ) Creates an IO::Zlib object.
$ftp = Net::FTP->new('target_site.somewhere.xxx'); $ftp->login('username','password'); # set transfer ... Turn on Debug (See below) and you will see what is happening $ftp = Net::FTP->new($host, Debug => 1)
reference with a new copy of the data. ... (keys %new_folks) { $HoH{flintstones}{$what} = $new_folks{$what}; } Access and Printing of a HASH
Oriented Encoder SYNOPSIS use Encode::Encoder; # Encode::encode("ISO-8859-1", $data); Encode::Encoder->new ... encoder() is an alias of Encode::Encoder->new(). This one is exported on demand.
pragma that functions much like use integer; You'd like this code use MyMaths; my $l = MyMaths->new ... (1.2); my $r = MyMaths->new(3.4); print "A: ", $l + $r, "\n"; use myint; print "B: ", $l + $r
:Parser::Iterator::Array; my @data = ('foo', 'bar', baz'); my $it = TAP::Parser::Iterator::Array->new ... METHODS Class Methods new Create an iterator.
TAP::Parser::Iterator::Stream; open( TEST, 'test.tap' ); my $it = TAP::Parser::Iterator::Stream->new ... METHODS Class Methods new Create an iterator. Expects one argument containing a filehandle.
) and newAV() and all their friends. ... Since perl 5.7.2 you can specify PL_exit_flags |= PERL_EXIT_DESTRUCT_END to get the new behaviour.
Construction new my $Test = Test::Builder->new; Returns a Test::Builder object representing the ... probably want new.
The B::SV method is largely compatible with the old one, though authors of new software might be advised ... As a kludge, the new version will always use the pad for the main program, but for OPs in subroutines
NAME CPANPLUS::Module::Author SYNOPSIS my $author = CPANPLUS::Module::Author->new( ... METHODS $auth = CPANPLUS::Module::Author->new( author => AUTHOR_NAME, cpanid => CPAN_ID, _id => INTERNALS_ID
This is an efficiency mechanism that new users may wish to avoid. ... The prototype affects only interpretation of new-style calls to the function, where new-style is defined
newStream([OPTS]) Usage is $z->newStream( [OPTS] ) Closes the current compressed data stream and starts ... a new one.
newStream([OPTS]) Usage is $z->newStream( [OPTS] ) Closes the current compressed data stream and starts ... a new one.
Example: use Benchmark; $t0 = Benchmark->new; # ... your code here ... ... Make sub new dump its debugging output to STDERR, to be consistent with everything else.
CONSTRUCTOR new ( [ARGS] ) Creates an IO::Socket::UNIX object, which is a reference to a newly created ... symbol (see the Symbol package). new optionally takes arguments, these arguments are in key-value pairs
Otherwise whatever you specify will be the new display style for this particular number. ... $j->display_format("polar"); There are two new display parameters.
(newName => ENCODING); After that, newName can be used as an alias for ENCODING. ... Therefore as of Encode version 2.21, a new method mime_name() is added.
, setup => sub { ... }, teardown => sub { ... }, ); my $it = TAP::Parser::Iterator::Process->new ... METHODS Class Methods new Create an iterator.
The Free Software Foundation may publish revised and/or new versions of the General Public License from ... new problems or concerns.
. # For the options you can pass, see the C<Log::Message new()> method. ... if none provided, set to '0', private = 1 # do not be verbose verbose = 0 # default tag to set on new
base qw(Pod::Simple::Methody); sub start_L { print Dumper($_[1]{'section'} ) } __PACKAGE__->new ... Pod::Simple::Methody); sub start_L { print Dumper( '' . $_[1]{'section'} ) } __PACKAGE__->new
MAIN METHODS $parser = SomeClass->new(); This returns a new parser object, where SomeClass is a ... *INPUT_FH ); SomeClass->filter( \$document_content ); This is a shortcut method for creating a new
new my $error = autodie::exception->new( args => \@_, function => "CORE::open", errno => ... , context => 'scalar', return => undef, ); Creates a new autodie::exception object.
They should not be used in new code. ... new Create a temporary file object.
SYNOPSIS # Re-run failed tests $ prove --state=fail,save -rbv METHODS Class Methods new Accepts ... new Run the tests in newest to oldest order. old Run the tests in oldest to newest order.
; exit if $pid; die "Can't start a new session: $!" ... (Actually, some of the new Socket conversion functions croak() on bad arguments.)
NAME ModuleInfo - Gather package and POD information from a perl module file DESCRIPTION new_from_file ... new_from_module($module, collect_pod => 1, inc => \@dirs) Construct a ModuleInfo object given a module
notes_name->config_names; \@names = $notes_name->feature_names; $notes_name->set_config(foo => \$new_value ... ); $notes_name->set_feature(bar => \$new_value); $notes_name->write; # Save changes DESCRIPTION
CONSTRUCTOR new ([ HOST ] [, OPTIONS ]) This is the constructor for a new Net::FTP object. ... Returns the full pathname to the new directory.
@names = Module::Build::ConfigData->feature_names; Module::Build::ConfigData->set_config(foo => $new_value ... ); Module::Build::ConfigData->set_feature(bar => $new_value); Module::Build::ConfigData->write; #
recs...; my $r1 = pop @array; unshift @array, new recs...; my $r2 = shift @array; @old_recs = splice ... @array, 3, 7, new recs...; untie @array; # all finished DESCRIPTION Tie::File represents
You should probably not create new items by yourself, but use the storing mechanism provided by Log:: ... This may be useful for comparing since the ID is incremented each time a new item is created.
not the newest, you might accidentally get one of these older versions even after installing a brand new ... Static Linking of a new Perl Binary An extension that is built with the above steps is ready to use
here: http://www.delorie.com/djgpp/getting.html You need the following files to build perl (or add new ... the perl binary in your module directory before you run "make test", so that you are testing with the new
[1addr]q Branch to the end of the script and quit without starting a new cycle. ... p If the substitution was made, print the new value of the pattern space.
[1addr]q Branch to the end of the script and quit without starting a new cycle. ... p If the substitution was made, print the new value of the pattern space.
Calling SetChildShowWindow(0) will make these new console windows invisible. ... The pid of the new process is stored in PID. This function is deprecated.
Avoid starting a new top-level hierarchy, especially if a suitable hierarchy already exists under which ... according to data type (making polymorphic invocation of methods feasible) When it is likely that new
Constructors are often named new(). ... Its disadvantage is that it won't create a new filehandle for you.
This example illustrates a new() call with all required arguments: CPANPLUS::Module->new( module ... author_object, _id => INTERNALS_OBJECT_ID, ); Every accessor is also a valid option to pass to new
Note that this is not the same thing as $self->SUPER::m(), which begins a new dispatch that is restricted ... Likewise, to create a class hierarchy in which every initializer inherited by a new object is invoked
PL_sv_undef 1: NULL (0x9da4234) 2: NULL (0x9db0f2c) 3: NULL (0x9db0f44) 4: NULL (0x9da4264) -e syntax OK New-style ... PVNV (0xa0c4f40) "$j" = NULL (0xa0c4f34) 3: PVNV (0xa0c4f58) "$k" = NULL (0xa0c4f4c) -e syntax OK New
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
When you call: print $lang->maketext("You have [quant,_1,piece] of new mail. ... So, this: $lang->maketext("You have [quant,_1,piece] of new mail.
git config user.email acme@astray.com It is also possible to keep origin as a git remote, and add a new ... You can see recent commits: % git log And pull new changes from the repository, and update your local
http://www.plover.com/~mjd/perl/Memoize/ (for news and updates) I maintain a mailing list on which I ... occasionally announce new versions of Memoize.
use of this class is like so: use Pod::Simple::HTMLBatch; my $batchconv = Pod::Simple::HTMLBatch->new ... pod from happydocs into the current directory) MAIN METHODS $batchconv = Pod::Simple::HTMLBatch->new
= rawinflate $input => $output [,OPTS] or die "rawinflate failed: $RawInflateError\n"; my $z = new ... Returns 1 if a new stream was found, 0 if none was found, and -1 if an error was encountered.
anyuncompress $input => $output [,OPTS] or die "anyuncompress failed: $AnyUncompressError\n"; my $z = new ... Returns 1 if a new stream was found, 0 if none was found, and -1 if an error was encountered.
$status = bunzip2 $input => $output [,OPTS] or die "bunzip2 failed: $Bunzip2Error\n"; my $z = new ... Returns 1 if a new stream was found, 0 if none was found, and -1 if an error was encountered.
\R Generic new line. \s Character class for white space. ... \K This is new in perl 5.10.0.
; my $status = unzip $input => $output [,OPTS] or die "unzip failed: $UnzipError\n"; my $z = new ... Returns 1 if a new stream was found, 0 if none was found, and -1 if an error was encountered.
$status = inflate $input => $output [,OPTS] or die "inflate failed: $InflateError\n"; my $z = new ... Returns 1 if a new stream was found, 0 if none was found, and -1 if an error was encountered.
Defines how to write the Makefile to produce a static new perl. ... {lc $var}, it will attempt to replace it's $prefix with a $new_prefix.
which compiles to object code for linking with perl), you will have to replace your perl binary with a new ... version containing the new statically-linked object module.
Build - CPANPLUS plugin to install packages that use Build.PL SYNOPSIS my $build = CPANPLUS::Dist->new ... Called automatically whenever you create a new CPANPLUS::Dist object.
NAME CPANPLUS::Dist::MM SYNOPSIS $mm = CPANPLUS::Dist::MM->new( module => $modobj ); $mm->create ... Called automatically whenever you create a new CPANPLUS::Dist object.
Gisle would welcome new tests for perlbench. ... That could be done without new ops.
called without additional arguments; and will set the element to the supplied value (and return the new ... method to construct and return a new structure, initialised to zeroes.
The B::Lint->register_plugin( MyPlugin => \@new_checks ) method adds the list of @new_checks to the list
passwd'); @pslines = ps('-ww'), cp("/etc/passwd", "/tmp/passwd"); # object oriented my $sh = Shell->new ... scalpel.netlabs.com> To: perl5-porters@isu.edu From: Larry Wall <lwall@scalpel.netlabs.com> Subject: a new
with ExtUtils::MakeMaker SYNOPSIS # In a Build.PL : use Module::Build; my $build = Module::Build->new ... typically controlled by passing the desired style as the create_makefile_pl parameter to Module::Build's new
= anyinflate $input => $output [,OPTS] or die "anyinflate failed: $AnyInflateError\n"; my $z = new ... Returns 1 if a new stream was found, 0 if none was found, and -1 if an error was encountered.
my $status = gunzip $input => $output [,OPTS] or die "gunzip failed: $GunzipError\n"; my $z = new ... Returns 1 if a new stream was found, 0 if none was found, and -1 if an error was encountered.
SYNOPSIS use Pod::Checker; $syntax_okay = podchecker($filepath, $outputpath, %options); my $checker = new ... Pod::Checker->new( %options ) Return a reference to a new Pod::Checker object that inherits from Pod
When a new thread is created, all references are replaced with new ones, including all objects. ... in use will be replaced with new ones.
Pod::Man - Convert POD data to formatted *roff input SYNOPSIS use Pod::Man; my $parser = Pod::Man->new ... The recognized options to new() are as follows. All options take a single argument.
$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.
SYNOPSIS use TAP::Formatter::File; my $harness = TAP::Formatter::File->new( \%args ); open_test See
SYNOPSIS use TAP::Formatter::Console; my $harness = TAP::Formatter::Console->new( \%args ); open_test
current differences are: Old awk always has a line loop, even if there are no line actions, whereas new ... statement print sprintf(some_args), extra_args; old awk considers extra_args to be arguments to sprintf; new
.); Options include: NORMALIZER => function INSTALL => new_name SCALAR_CACHE => 'MEMORY' SCALAR_CACHE ... See the Memoize.pm Page at http://www.plover.com/~mjd/perl/Memoize/ for news and upgrades.
A minimal subclass needs to implement the following methods by itself: new clone add digest The arguments
$lh->init(); This is called by ->new to initialize newly-constructed language handles. ... coderef, and then we return &$new_sub($lh, ...parameters...).
ExtUtils::MM - OS adjusted ExtUtils::MakeMaker subclass SYNOPSIS require ExtUtils::MM; my $mm = MM->new
my $thing = TAP::Whatever->new(); $thing->callback( event => sub { # do something interesting
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.
DirHandle - supply object methods for directory handles SYNOPSIS use DirHandle; $d = DirHandle->new
of directories containing archive libraries that relate to perl modules and should be linked into a new
If the index is missing, and it's a file:// uri, it will generate a new local index for you. ... If the index is missing, and it's a file:// uri, it will generate a new local index for you.
NAME CPANPLUS::Config SYNOPSIS ### conf object via CPANPLUS::Backend; $cb = CPANPLUS::Backend->new ... ; $conf = $cb->configure_object; ### or as a standalone object $conf = CPANPLUS::Configure->new;
If you're new to the Perl debugger, you may prefer to read perldebtut, which is a tutorial introduction ... R Restart the debugger by exec()ing a new session.
Overridden Methods new() MacPerl doesn't define $Config{sitelib} or $Config{sitearch} for some reason
Pluggable - package MyClass; use Module::Pluggable::Object; my $finder = Module::Pluggable::Object->new
USING B::Deparse AS A MODULE Synopsis use B::Deparse; $deparse = B::Deparse->new("-p", "-sC"); $body ... new $deparse = B::Deparse->new(OPTIONS) Create an object to store the state of a deparsing operation
So to check Test::Builder->new->diag("foo\n","bar\n"); You would do test_diag("foo","bar") without ... Bugs (and requests for new features) can be reported to the author though the CPAN RT system: http://
or use Pod::Select; ## Create a parser object for selecting POD sections from the input $parser = new ... Private data fields are stored in the hash-object whose reference is returned by the new() constructor
Upon tying a new hash to this package, the developer must specify the size of the keys that will be used
use CPANPLUS::Shell qw[Classic] # load CPANPLUS::Shell::Classic; my $ui = CPANPLUS::Shell->new
$hasargs is true if a new instance of @_ was set up for the frame. ... \n" unless chdir '/usr/spool/news'; chdir '/usr/spool/news' or die "Can't cd to spool: $!
data to formatted color ASCII text SYNOPSIS use Pod::Text::Color; my $parser = Pod::Text::Color->new
cs ### add a new custom source CPAN Terminal> /cs --add file:///path/to/releases ### list all your
The default name of the new configuration file is "libnet.cfg", and by default it is written to the current
Don't forget that with the new PerlIO layered I/O abstraction FILE* types may not even be available. ... which have similar arguments as Zero(): PoisonWith(dst, n, t, b) scribble memory with byte b PoisonNew
perl -MPod::Simple::HTML -e Pod::Simple::HTML::go Thing.pod Thing.html CALLING FROM PERL TODO make a new
construct an object of this class for yourself, but if you want to, call Pod::Simple::PullParserEndToken->new
ASCII text with format escapes SYNOPSIS use Pod::Text::Termcap; my $parser = Pod::Text::Termcap->new
at compile time: BEGIN { *CORE::GLOBAL::hex = sub { # ... your code here }; } The new
SYNOPSIS # Re-run failed tests $ prove --state=fail,save -rbv METHODS Class Methods new Instance
fetching mechanism SYNOPSIS use File::Fetch; ### build a File::Fetch object ### my $ff = File::Fetch->new ... METHODS $ff = File::Fetch->new( uri => 'http://some.where.com/dir/file.txt' ); Parses the uri and creates
There is also a new() constructor provided, which is the same as localtime(), except when passed a Time ... Creates a new # Time::Piece object Local Locales Both wdayname (day) and monname
Useful to make sure that no new problems have been introduced. ... new Run the tests in newest to oldest order based on the modification times of the test scripts.
: print ONE_WEEK->minutes; METHODS The following methods are available: my $val = Time::Seconds->new
If you are a module author, this is useful to run before creating a new release. ... The defaults can be overridden by specifying new values on the command line.
What's New in Perl for MPE/iX January 12, 2006 Updated for perl-5.8.8 and perl-5.9.3 by Ken Hirsch ... Check here for the latest news, implemented functionality, known bugs, to-do list, etc.
New() and Copy() are unfortunately used by both Symbian and Perl code so you'll have to play cpp games ... PerlBase.h undefines the Perl definitions and redefines them as PerlNew() and PerlCopy().
interface to system poll call SYNOPSIS use IO::Poll qw(POLLRDNORM POLLWRNORM POLLIN POLLHUP); $poll = new
For new applications the newer versions of these constants are suggested (O_APPEND, O_ASYNC, O_CREAT,
formatted overstrike text SYNOPSIS use Pod::Text::Overstrike; my $parser = Pod::Text::Overstrike->new
This also helps to differentiate new modules from old .pl and .ph files. ... It will be called in the context of the new thread, so all modifications are made in the new area.
% perl -MPod::Simple::SimpleTree -MData::Dumper -e \ "print Dumper(Pod::Simple::SimpleTree->new->
confuse most perl IO operators except sysread and syswrite (see perlfunc for full details) Returns the new
construct an object of this class for yourself, but if you want to, call Pod::Simple::PullParserTextToken->new
The default permissions to use if a new file is created.
METHODS Class Methods new Create an iterator. Provided by TAP::Object.
construct an object of this class for yourself, but if you want to, call Pod::Simple::PullParserStartToken->new
The default permissions to use if a new file is created.
The default permissions to use if a new file is created.
extensions are incorporated directly into PerlShr.Exe, you'll have to rebuild Perl to incorporate a new ... Then, rebuild PerlShr.Exe to incorporate the new code.
QUICK START GUIDE To write a test for your new (and probably not even done) module, create a new file ... called t/test.t (in a new t directory).
To enable this feature, export the new "warningsToBrowser" subroutine. ... you've done that, you can change the logged name of the program at any time by calling set_progname(new_program_name
"SEE ALSO" section), and then later adopted as the preferred MRO (Method Resolution Order) for the new-style ... The only known case where pure perl code can confuse the method cache is when you manually install a new
force forces a new download, even if the file already exists.
use warnings::register Creates a new warnings category with the same name as the package where the
You should not get it via Test::Builder->new as was previously recommended.
See "GZIP INTERFACE" With the creation of the IO::Compress and IO::Uncompress modules no new features ... If you are writing new code, your first port of call should be one of the new IO::Compress or IO::Uncompress
perlio The new perlIO layer is used. NI-S' favorite.
If you perform a new installation, then (a newer) Perl will be installed automatically. ... Insert the new formula into the Formula/Value box.
You may want to start with perldoc perltrap for pointers to common traps that new (and experienced) Perl ... Feel free to update the ticket about your bug on http://rt.perl.org if a new version of Perl is released
this command: :/start/,/stop/s/from/to/ When used as a filter we want to invoke it like this: use NewSubst ... package NewSubst ; use Filter::Util::Call ; use Carp ; sub import { my ($self, $start, $stop, $
You may want to start with perldoc perltrap for pointers to common traps that new (and experienced) Perl ... Feel free to update the ticket about your bug on http://rt.perl.org if a new version of Perl is released
Perl prefers to dup the new low-level descriptor to the descriptor used by the existing PerlIO. ... The fact that such a FILE * has been 'exported' is recorded, (normally by pushing a new :stdio "layer
Add a new debug statement while running in the shell and then issue a reload cpan and see the new debugging ... Bundle/mybundle.pm), install the new perl with the Configure option prefix, e.g. .
Invoking a barnyard Let's take that new arrow invocation and put it back in the barnyard example: sub ... , with various ways of interpreting the arguments to new.
New, in 1.96 is also the %Module::CoreList::families hash, which clusters known perl releases by their
the id METHODS $internals = CPANPLUS::Internals->_init( _conf => CONFIG_OBJ ) _init creates a new
you should either delete your current config file and reconfigure, or patch your config file from the new
under control of the benchmarking or profiling modules, from the first step above, and check that the new ... code against the same logfile, as above, to check the new time. $> time .
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.
sub juggle { . . . } Fatal->import('juggle'); BEST PRACTICE Fatal has been obsoleted by the new autodie
Since the port to epocemx is quite new, please check the web for updates first.
(If you have the version module, you can also use new-style version numbers, like 5.8.8.)
While developing your module you might write a new file, not add it to the MANIFEST, then run a distclean ... and be sad because your new work was deleted.
The methods each take an optional EXPR, which, if supplied, specifies the new value for the IO::Handle ... This is a new mechanism and the details may change. See also perldebguts.
reason you have a statically-linked perl, and the module requires compilation, you'll need to build a new ... You can add new paths to the default @INC in the Preferences menu item in the MacPerl application ($ENV
The module augments the standard Perl syntax with two new control statements: switch and case. ... Together these two new statements provide a fully generalized case mechanism: use Switch; # AND LATER
# always done via CPANPLUS::Shell my $ui = CPANPLUS::Shell->new
strings operating under byte semantics and strings with Unicode character data are concatenated, the new ... There is a new U specifier that converts between Unicode characters and code points.
If you're new to Perl, you should start with perlintro, which is a general intro for beginners and provides ... perlmodinstall Perl modules: how to install from CPAN perlnewmod Perl modules: preparing a new
-ncpio FILE Adds current output to "new"-style cpio-format FILE.
$bool = $dist->init This method is called just after the new dist object is set up and before the prepare
If you just want to preserve existing newlines but add new breaks with something else, set $Text::Wrap
</head1> For example, a directive consisting of this: =head1 Options to C<new> et al. ... will produce this event structure: <head1 start_line="543"> Options to <C> new </C> et
NOT New York Seneca! [{mis} : Miscellaneous languages] Don't use this. ... {new} : Newari {nia} : Nias [{nic} : Niger-Kordofanian (Other)] [{ssa} : Nilo-Saharan (Other
EXAMPLES use Term::Cap; # Get terminal output speed require POSIX; my $termios = new POSIX::Termios
The ability to override what @ISA says is new in 5.8. The trust in item 2 is transitive.
Please don't do this in new code.
xsi_body(@modules) This function returns a string of calls to newXS() that glue the module bootstrap
thing doesn't matter, nor does case) is_dialect_of('nn', 'no') is TRUE (because 'nn' (New ... Note that this function does not try to equate new (and never-used, and unusable) ISO639-2 three-letter
LOG_MAIL - mail subsystem LOG_NETINFO - NetInfo subsystem (Mac OS X); falls back to LOG_DAEMON LOG_NEWS ... - USENET news subsystem LOG_NTP - NTP subsystem (FreeBSD, NetBSD); falls back to LOG_DAEMON LOG_RAS
New $over_* values show the measured overhead of making $over_tests calls to the profiler These values
for a different version of Solaris than you are running, then you will need to rebuild gcc for your new ... Versions newer than 2.7 are apparently new enough.
Internal version numbers are increased each time new data types (such as restricted hashes) are added ... Hence this Storable defaults to the new, correct behaviour.
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
compatibility one can use the old names for certain C0 and C1 controls old new
(Typically under the c:\perl folder) BUILD NEW EXTENSIONS To build extensions other than standard extensions
See POD2::IT (or POD2::FR) in order to see how to create and integrate new localized POD2::* pod documentation
In the ASCII range, \s matches the horizontal tab (\t), the new line (\n), the form feed (\f), the carriage ... \h, \H, \v, \V, and \R are new in perl 5.10.0.
attribute A new feature that allows the declaration of variables and subroutines with modifiers as ... scalar storage locations, plus four references (in the first four scalar locations) pointing to four new
Zero means the "traditional" random hash ordering, non-zero means the new even more random hash ordering
Some because they are part of core-perl and you dont want a new package.
Another use for typeglobs is to pass filehandles into a function or to create new filehandles. ... In other words, *FH must be used to create new symbol table entries; *foo{THING} cannot.
This was the first Perl module that provided support for handling the new style of command line options ... Configuration options can be passed to the constructor: $p = new Getopt::Long::Parser config
If the parser encounters a require or use statement in a source stream, a new and distinct stream is ... is parsed: cpp_test ---> cpp filter ---> parser (INACTIVE) Fred.pm ----> parser As you can see, a new
Unicode Unicode is a new and complex technology and one may easily overlook certain security pitfalls ... One possible reason for wanting to emulate the old behaviour is that in the new behaviour consecutive
Use the new and and or operators to avoid having to parenthesize list operators so much, and to reduce
alias_code Define a new code as an alias for an existing code: Locale::Country::alias_code( ALIAS =
makeaperl (override) Undertake to build a new set of Perl images using VMS commands.
So what's new?
The good news is that you very probably don't need to ever use the ODBM_File extension since more advanced
Quick Guide If you want to know as little about Perl as possible but need to add a new encoding, just
Any old modules which use AutoLoader should be changed to the new calling style.
for converting other languages, the pl2pm utility will help you convert old-style Perl 4 libraries to new-style
Using PerlIO and different encodings on ASCII and EBCDIC partitions Since version 5.8 Perl uses the new
the first CRLF layer you can find, and if you can't find one, here would be a good spot to place a new
::ReadLine UI made easy SYNOPSIS use Term::UI; use Term::ReadLine; my $term = Term::ReadLine->new
+ 0 or 1 time (same as {0,1}) The possessive forms (new in Perl 5.10) prevent backtracking:
Note that because -i renames or deletes the original file before creating a new file of the same name ... be used as a temporary development aid while securing legacy code: for real production code and for new
Usually, to create new filehandles other ops such as open would need to be enabled, if you don't take
If you are migrating a codebase to use the new interface, you will have to list everything explicitly
bar'}})) { my $val = $foo{'bar'}{$key}; ... } View existing bug reports at, and submit any new
gen_extract_tagged (Note: This subroutine is only available under Perl5.005) gen_extract_tagged generates a new ... (whereas extract_tagged has to effectively rebuild its tag parser on every call); make use of the new
All features that combine Unicode and I/O also require using the new PerlIO feature. ... NOTE: the :utf8 and :encoding features work only if your Perl has been built with the new PerlIO feature
To use the Perl you just installed you will need to add a new entry to your PATH environment variable ... makefile then the installation structure is a little more complicated and you will need to add two new
reference to dead object '%s' (F) A DESTROY() method created a new reference to the object which is ... You must put parentheses around the filehandle, or use the new "or" operator instead of "||".
It determines after how many days CPAN.pm downloads new indexes.
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 mail of each new upload, and reply to the list with PASS, FAIL, NA
. $_ = <<'EOL'; $url = URI::URL->new( "http://www/" ); die if $url eq "xXx"; EOL LOOP: { ... is: chmod 0644, <*.c>; A (file)glob evaluates its (embedded) argument only when it is starting a new
It is highly recommended to use the new interface.
If you think that you want to add a new command to Pod (like, say, a "=biblio" command), consider whether ... items, "Neque", "Porro", and "Quisquam Est", followed by a paragraph explaining them all, and then a new
Using Encode Starting from Perl 5.8 you can use the standard new module Encode to translate from EBCDIC ... Since version 5.8 Perl uses the new PerlIO I/O library.
Suppose that we want to enable a new RE escape-sequence \Y| which matches at a boundary between whitespace ... } { $rules{$1} or invalid($re,$1) }sgex; return $re; } Now use customre enables the new
# branch's tail to the tail of the sequence # (NEW
least the size of PerlIOl, PerlIO_pushed will allocate memory for the layer's data structures and link new
5.6.1 2001-Apr-08 Rafael 5.6.2-RC1 2003-Nov-08 5.6.2 2003-Nov-15 Fix new
In Part 2, we will assume you are comfortable with the basics and concentrate on the new features. ... These are extensions to the traditional regular expression syntax that provide powerful new tools for
required to work on older Perls you'll need to unpack( 'Z* Z* C') to get the length, then use it to make a new
This may be useful for making a test installation of a new version without disturbing the existing installation