syswrite

syswrite FILEHANDLE,SCALAR,LENGTH,OFFSET syswrite FILEHANDLE,SCALAR,LENGTH syswrite FILEHANDLE,SCALAR Attempts to write LENGTH bytes of data from variable SCALAR to the specified FILEHANDLE, using write(2). If LENGTH is not specified, writes whole SCALAR. It bypasses buffered IO, so mixing this with reads (other than sysread()), print, write, seek, tell, or eof may cause confusion because the perlio and stdio layers usually buffer data. Returns the number of bytes actually written, or undef if

$<digits> ($1, $2, ...)

$<digits> ($1, $2, ...) Contains the subpattern from the corresponding set of capturing parentheses from the last successful pattern match, not counting patterns matched in nested blocks that have been exited already. These variables are read-only and dynamically-scoped. Mnemonic: like \digits.

perlsub - Perl subroutines

NAME SYNOPSIS DESCRIPTIONSignatures Private Variables via my() Persistent Private Variables Temporary Values via local() Lvalue subroutines Lexical Subroutines Passing Symbol Table Entries (typeglobs) When to Still Use local() Pass by Reference Prototypes Constant Functions Overriding Built-in Functions Autoloading Subroutine Attributes SEE ALSO NAME perlsub - Perl subroutines SYNOPSIS To declare subroutines: sub NAME; # A "forward" declaration. sub NAME(PROTO); # di

perlfaq8 - System Interaction

NAME VERSION DESCRIPTIONHow do I find out which operating system I'm running under? How come exec() doesn't return? How do I do fancy stuff with the keyboard/screen/mouse? How do I print something out in color? How do I read just one key without waiting for a return key? How do I check whether input is ready on the keyboard? How do I clear the screen? How do I get the screen size? How do I ask the user for a password? How do I read and write the serial port? How do I decode encrypted password

Time::Local - efficiently compute time from local and GMT time

NAME SYNOPSIS DESCRIPTION FUNCTIONStimelocal() and timegm() timelocal_nocheck() and timegm_nocheck() Year Value Interpretation Limits of time_t Ambiguous Local Times (DST) Non-Existent Local Times (DST) Negative Epoch Values IMPLEMENTATION BUGS SUPPORT COPYRIGHT AUTHOR NAME Time::Local - efficiently compute time from local and GMT time SYNOPSIS $time = timelocal( $sec, $min, $hour, $mday, $mon, $year ); $time = timegm( $sec, $min, $hour, $mday, $mon, $year ); DESCRIPTION This module provid

perlthrtut - Tutorial on threads in Perl

NAME DESCRIPTION What Is A Thread Anyway? Threaded Program ModelsBoss/Worker Work Crew Pipeline What kind of threads are Perl threads? Thread-Safe Modules Thread BasicsBasic Thread Support A Note about the Examples Creating Threads Waiting For A Thread To Exit Ignoring A Thread Process and Thread Termination Threads And DataShared And Unshared Data Thread Pitfalls: Races Synchronization and controlControlling access: lock() A Thread Pitfall: Deadlocks Queues: Passing Data Around Semaphor

List Operators (Rightward)

List Operators (Rightward) On the right side of a list operator, the comma has very low precedence, such that it controls all comma-separated expressions found there. The only operators with lower precedence are the logical operators "and" , "or" , and "not" , which may be used to evaluate calls to list operators without the need for parentheses: open HANDLE, "< :utf8", "filename" or die "Can't open: $!\n"; However, some people find that code harder to read than writing it with parentheses

IO::Uncompress::Base - Base Class for IO::Uncompress modules

NAME SYNOPSIS DESCRIPTION SEE ALSO AUTHOR MODIFICATION HISTORY COPYRIGHT AND LICENSE NAME IO::Uncompress::Base - Base Class for IO::Uncompress modules SYNOPSIS use IO::Uncompress::Base ; DESCRIPTION This module is not intended for direct use in application code. Its sole purpose is to be sub-classed by IO::Uncompress modules. SEE ALSO Compress::Zlib, IO::Compress::Gzip, IO::Uncompress::Gunzip, IO::Compress::Deflate, IO::Uncompress::Inflate, IO::Compress::RawDeflate, IO::Uncompress::RawInflat

import

import LIST There is no builtin import function. It is just an ordinary method (subroutine) defined (or inherited) by modules that wish to export names to another module. The use function calls the import method for the package used. See also use, perlmod, and Exporter.

C Operators Missing From Perl

C Operators Missing From Perl Here is what C has that Perl doesn't: unary & Address-of operator. (But see the "\" operator for taking a reference.) unary * Dereference-address operator. (Perl's prefix dereferencing operators are typed: $ , @ , % , and & .) (TYPE) Type-casting operator.