The values for WHENCE are 0 to set the new position to POSITION, 1 to set the it to the current position ... " function: use Fcntl 'SEEK_CUR'; sub systell { sysseek($_[0], 0, SEEK_CUR) } Returns the new
link OLDFILE,NEWFILE Creates a new filename linked to the old filename.
record, the page is advanced by writing a form feed, a special top-of-page format is used to format the new ... The number of lines remaining on the current page is in variable $-, which can be set to 0 to force a new
symlink OLDFILE,NEWFILE Creates a new filename symbolically linked to the old filename.
Any additional arguments are passed to the new method of the class (meaning TIESCALAR, TIEHANDLE, TIEARRAY ... The object returned by the new method is also returned by the tie function, which would be useful if
separate strings of LIST into a single string with fields separated by the value of EXPR, and returns that new
Prepends list to the front of the array, and returns the new number of elements in the array.
chroot This function works like the system call by the same name: it makes the named directory the new
an undefined scalar variable (or array or hash element), the variable is assigned a reference to a new
THAT)) { print "THIS and THAT are dups\n"; } (Filehandles connected to memory objects via new
$1 : undef ); push @caps, uc($_); } my @new = @old[ sort { $nums[$b] <=> $nums ... $#old ]; # same thing, but without any temps @new = map { $_->[0] } sort { $b
When the new binary is executed it will begin by executing a goto LABEL (with all the restrictions that
\n" unless chdir '/usr/spool/news'; chdir '/usr/spool/news' or die "Can't cd to spool: $! ... Here's an example: use Scalar::Util "blessed"; eval { ... ; die Some::Module::Exception->new
Also, this has to unwind one hash and build a whole new one, which may take some time on a large hash
This ensures crypt() will hash the new string with the same salt as the digest. ... When choosing a new salt create a random two character string whose characters come from the set [./0
fork Does a fork(2) system call to create a new process running the same program at the same point
previous timer, and an argument of 0 may be supplied to cancel the previous timer without starting a new
Example: # print out history file offsets dbmopen(%HIST,'/usr/lib/news/history',0666); while
The values for WHENCE are 0 to set the new position in bytes to POSITION, 1 to set it to the current
Here is a typical code layout: # In Foo.pm package Foo; sub new { ... } sub Foo::INC ... my ($self, $filename) = @_; ... } # In the main program push @INC, Foo->new
do not work under OS/390 & VM/ESA Unix and on the Macintosh; you probably don't want to use them in new
$hasargs is true if a new instance of @_ was set up for the frame.
If FILEHANDLE is supplied, sets the new current default filehandle for output.
is an undefined scalar variable (or array or hash element) the variable is assigned a reference to a new ... In the child process, the filehandle isn't opened--I/O happens from/to the new STDOUT/STDIN.