semctl

semctl ID,SEMNUM,CMD,ARG Calls the System V IPC function semctl(2). You'll probably have to say use IPC::SysV; first to get the correct constant definitions. If CMD is IPC_STAT or GETALL, then ARG must be a variable that will hold the returned semid_ds structure or semaphore value array. Returns like ioctl: the undefined value for error, "0 but true" for zero, or the actual return value otherwise. The ARG must consist of a vector of native short integers, which may be created with pack("s!",(0

readlink

readlink EXPR readlink Returns the value of a symbolic link, if symbolic links are implemented. If not, raises an exception. If there is a system error, returns the undefined value and sets $! (errno). If EXPR is omitted, uses $_ . Portability issues: readlink in perlport.

Net::Ping - check a remote host for reachability

NAME SYNOPSIS DESCRIPTIONFunctions NOTES INSTALL BUGS AUTHORS COPYRIGHT NAME Net::Ping - check a remote host for reachability SYNOPSIS use Net::Ping; $p = Net::Ping->new(); print "$host is alive.\n" if $p->ping($host); $p->close(); $p = Net::Ping->new("icmp"); $p->bind($my_addr); # Specify source interface of pings foreach $host (@host_array) { print "$host is "; print "NOT " unless $p->ping($host, 2); print "reachable.\n"; sleep(1); } $p->close(); $p

Encode::GSM0338 -- ESTI GSM 03.38 Encoding

NAME SYNOPSIS DESCRIPTION NOTES BUGS SEE ALSO NAME Encode::GSM0338 -- ESTI GSM 03.38 Encoding SYNOPSIS use Encode qw/encode decode/; $gsm0338 = encode("gsm0338", $utf8); # loads Encode::GSM0338 implicitly $utf8 = decode("gsm0338", $gsm0338); # ditto DESCRIPTION GSM0338 is for GSM handsets. Though it shares alphanumerals with ASCII, control character ranges and other parts are mapped very differently, mainly to store Greek characters. There are also escape sequences (starting with 0x1B

local

local EXPR You really probably want to be using my instead, because local isn't what most people think of as "local". See Private Variables via my() in perlsub for details. A local modifies the listed variables to be local to the enclosing block, file, or eval. If more than one value is listed, the list must be placed in parentheses. See Temporary Values via local() in perlsub for details, including issues with tied arrays and hashes. The delete local EXPR construct can also be used to localize

perlfunc - Perl builtin functions

NAME DESCRIPTIONPerl Functions by Category Portability Alphabetical Listing of Perl Functions Non-function Keywords by Cross-reference NAME perlfunc - Perl builtin functions DESCRIPTION The functions in this section can serve as terms in an expression. They fall into two major categories: list operators and named unary operators. These differ in their precedence relationship with a following comma. (See the precedence table in perlop.) List operators take more than one argument, while u

TAP::Formatter::Session - Abstract base class for harness output delegate

NAME VERSION METHODSClass Methods NAME TAP::Formatter::Session - Abstract base class for harness output delegate VERSION Version 3.35 METHODS Class Methods new my %args = ( formatter => $self, ) my $harness = TAP::Formatter::Console::Session->new( \%args ); The constructor returns a new TAP::Formatter::Console::Session object. formatter parser name show_count header Output test preamble result Called by the harness for each line of TAP it receives. close_test

Time::localtime - by-name interface to Perl's built-in localtime() function

NAME SYNOPSIS DESCRIPTION NOTE AUTHOR NAME Time::localtime - by-name interface to Perl's built-in localtime() function SYNOPSIS use Time::localtime; printf "Year is %d\n", localtime->year() + 1900; $now = ctime(); use Time::localtime; use File::stat; $date_string = ctime(stat($file)->mtime); DESCRIPTION This module's default exports override the core localtime() function, replacing it with a version that returns "Time::tm" objects. This object has methods that return the similarly na

Digest::file - Calculate digests of files

NAME SYNOPSIS DESCRIPTION SEE ALSO NAME Digest::file - Calculate digests of files SYNOPSIS # Poor mans "md5sum" command use Digest::file qw(digest_file_hex); for (@ARGV) { print digest_file_hex($_, "MD5"), " $_\n"; } DESCRIPTION This module provide 3 convenience functions to calculate the digest of files. The following functions are provided: digest_file( $file, $algorithm, [$arg,...] ) This function will calculate and return the binary digest of the bytes of the given file. The functi

Encode::EBCDIC - EBCDIC Encodings

NAME SYNOPSIS ABSTRACT DESCRIPTION SEE ALSO NAME Encode::EBCDIC - EBCDIC Encodings SYNOPSIS use Encode qw/encode decode/; $posix_bc = encode("posix-bc", $utf8); # loads Encode::EBCDIC implicitly $utf8 = decode("", $posix_bc); # ditto ABSTRACT This module implements various EBCDIC-Based encodings. Encodings supported are as follows. Canonical Alias Description -------------------------------------------------------------------- cp37 cp500 cp875 cp1026 cp1047 posix-bc