SEARCH RESULTS

Functions

sysseek

The values for WHENCE are 0 to set the new position to POSITION, 1 to set the it to the current position ... Returns the new position, or the undefined value on failure.

link OLDFILE,NEWFILE Creates a new filename linked to the old filename.

push - append one or more elements to an array

Returns the new number of elements in the array.

tie - bind a variable to an object class

Any additional arguments are passed to the "new()" method of the class (meaning TIESCALAR, TIEARRAY, ... The object returned by the "new()" method is also returned by the tie() function, which would be useful

symlink OLDFILE,NEWFILE Creates a new filename symbolically linked to the old filename.

write - print a picture record

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

unshift - prepend more elements to the beginning of a list

Prepends list to the front of the array, and returns the new number of elements in the array.

chroot - make directory new root for path lookups

chroot This function works like the system call by the same name: it makes the named directory the new

reverse - flip a string or a list

Also, this has to unwind one hash and build a whole new one, which may take some time on a large hash

die - raise an exception or bail out

\n" unless chdir '/usr/spool/news'; chdir '/usr/spool/news' or die "Can't cd to spool: $!

dump - create an immediate core dump

When the new binary is executed it will begin by executing a goto LABEL (with all the restrictions that

sort - sort a list of values

first integer after the first = sign, or the # whole record case-insensitively otherwise @new ... $#old ]; # same thing using a Schwartzian Transform (no temps) @new = map { $

alarm - schedule a SIGALRM

previous timer, and an argument of 0 may be supplied to cancel the previous timer without starting a new

seek - reposition file pointer for random-access I/O

The values for WHENCE are 0 to set the new position to POSITION, 1 to set it to the current position

dbmopen - create binding on a tied dbm file

Example: # print out history file offsets dbmopen(%HIST,'/usr/lib/news/history',0666); while

open - open a file, pipe, or descriptor

open(LOG, '>>/usr/spool/news/twitlog'); # (log is reserved) # if the open fails, output is discarded ... In the child process the filehandle isn't opened--i/o happens from/to the new STDOUT or STDIN.