perlsec - Perl security

NAME DESCRIPTION SECURITY VULNERABILITY CONTACT INFORMATION SECURITY MECHANISMS AND CONCERNSTaint mode Laundering and Detecting Tainted Data Switches On the "#!" Line Taint mode and @INC Cleaning Up Your Path Security Bugs Protecting Your Programs Unicode Algorithmic Complexity Attacks SEE ALSO NAME perlsec - Perl security DESCRIPTION Perl is designed to make it easy to program securely even when running with extra privileges, like setuid or setgid programs. Unlike most command line shells,

closedir

closedir DIRHANDLE Closes a directory opened by opendir and returns the success of that system call.

$LIST_SEPARATOR

$LIST_SEPARATOR

lc

lc EXPR lc Returns a lowercased version of EXPR. This is the internal function implementing the \L escape in double-quoted strings. If EXPR is omitted, uses $_ . What gets returned depends on several factors: If use bytes is in effect: The results follow ASCII rules. Only the characters A-Z change, to a-z respectively. Otherwise, if use locale for LC_CTYPE is in effect: Respects current LC_CTYPE locale for code points < 256; and uses Unicode rules for the remaining code points (this last can

log

log EXPR log Returns the natural logarithm (base e) of EXPR. If EXPR is omitted, returns the log of $_ . To get the log of another base, use basic algebra: The base-N log of a number is equal to the natural log of that number divided by the natural log of N. For example: sub log10 { my $n = shift; return log($n)/log(10); } See also exp for the inverse operation.

User::grent - by-name interface to Perl's built-in getgr*() functions

NAME SYNOPSIS DESCRIPTION NOTE AUTHOR NAME User::grent - by-name interface to Perl's built-in getgr*() functions SYNOPSIS use User::grent; $gr = getgrgid(0) or die "No group zero"; if ( $gr->name eq 'wheel' && @{$gr->members} > 1 ) { print "gid zero name wheel, with other members"; } use User::grent qw(:FIELDS); getgrgid(0) or die "No group zero"; if ( $gr_name eq 'wheel' && @gr_members > 1 ) { print "gid zero name wheel, with other members"; } $gr = ge

CPAN::Debug - internal debugging for CPAN.pm

NAME LICENSE NAME CPAN::Debug - internal debugging for CPAN.pm LICENSE This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

umask

umask EXPR umask Sets the umask for the process to EXPR and returns the previous value. If EXPR is omitted, merely returns the current umask. The Unix permission rwxr-x--- is represented as three sets of three bits, or three octal digits: 0750 (the leading 0 indicates octal and isn't one of the digits). The umask value is such a number representing disabled permissions bits. The permission (or "mode") values you pass mkdir or sysopen are modified by your umask, so even if you tell sysopen to cr

msgrcv

msgrcv ID,VAR,SIZE,TYPE,FLAGS Calls the System V IPC function msgrcv to receive a message from message queue ID into variable VAR with a maximum message size of SIZE. Note that when a message is received, the message type as a native long integer will be the first thing in VAR, followed by the actual message. This packing may be opened with unpack("l! a*") . Taints the variable. Returns true if successful, false on error. See also SysV IPC in perlipc and the documentation for IPC::SysV and IPC:

File::Copy - Copy files or filehandles

NAME SYNOPSIS DESCRIPTION RETURN AUTHOR NAME File::Copy - Copy files or filehandles SYNOPSIS use File::Copy; copy("sourcefile","destinationfile") or die "Copy failed: $!"; copy("Copy.pm",\*STDOUT); move("/dev1/sourcefile","/dev2/destinationfile"); use File::Copy "cp"; $n = FileHandle->new("/a/file","r"); cp($n,"x"); DESCRIPTION The File::Copy module provides two basic functions, copy and move , which are useful for getting the contents of a file from one place to another. copy The co