truncate

truncate FILEHANDLE,LENGTH truncate EXPR,LENGTH Truncates the file opened on FILEHANDLE, or named by EXPR, to the specified length. Raises an exception if truncate isn't implemented on your system. Returns true if successful, undef on error. The behavior is undefined if LENGTH is greater than the length of the file. The position in the file of FILEHANDLE is left unchanged. You may want to call seek before writing to the file. Portability issues: truncate in perlport.

sysopen

sysopen FILEHANDLE,FILENAME,MODE sysopen FILEHANDLE,FILENAME,MODE,PERMS Opens the file whose filename is given by FILENAME, and associates it with FILEHANDLE. If FILEHANDLE is an expression, its value is used as the real filehandle wanted; an undefined scalar will be suitably autovivified. This function calls the underlying operating system's open(2) function with the parameters FILENAME, MODE, and PERMS. The possible values and flag bits of the MODE parameter are system-dependent; they are ava

Pod::Simple::HTML - convert Pod to HTML

NAME SYNOPSIS DESCRIPTION CALLING FROM THE COMMAND LINE CALLING FROM PERLMinimal code More detailed example METHODShtml_css html_javascript title_prefix title_postfix html_header_before_title top_anchor html_h_level index html_header_after_title html_footer SUBCLASSING SEE ALSO SUPPORT COPYRIGHT AND DISCLAIMERS ACKNOWLEDGEMENTS AUTHOR NAME Pod::Simple::HTML - convert Pod to HTML SYNOPSIS perl -MPod::Simple::HTML -e Pod::Simple::HTML::go thingy.pod DESCRIPTION This class is for making an

perlxstypemap - Perl XS C/Perl type mapping

NAME DESCRIPTIONAnatomy of a typemap The Role of the typemap File in Your Distribution Sharing typemaps Between CPAN Distributions Writing typemap Entries Full Listing of Core Typemaps NAME perlxstypemap - Perl XS C/Perl type mapping DESCRIPTION The more you think about interfacing between two languages, the more you'll realize that the majority of programmer effort has to go into converting between the data structures that are native to either of the languages involved. This trumps other m

telldir

telldir DIRHANDLE Returns the current position of the readdir routines on DIRHANDLE. Value may be given to seekdir to access a particular location in a directory. telldir has the same caveats about possible directory compaction as the corresponding system library routine.

perlguts - Introduction to the Perl API

NAME DESCRIPTION VariablesDatatypes What is an "IV"? Working with SVs Offsets What's Really Stored in an SV? Working with AVs Working with HVs Hash API Extensions AVs, HVs and undefined values References Blessed References and Class Objects Creating New Variables Reference Counts and Mortality Stashes and Globs Double-Typed SVs Read-Only Values Copy on Write Magic Variables Assigning Magic Magic Virtual Tables Finding Magic Understanding the Magic of Tied Hashes and Arrays Localizing changes

Cwd - get pathname of current working directory

NAME SYNOPSIS DESCRIPTIONgetcwd and friends abs_path and friends $ENV{PWD} NOTES AUTHOR COPYRIGHT SEE ALSO NAME Cwd - get pathname of current working directory SYNOPSIS use Cwd; my $dir = getcwd; use Cwd 'abs_path'; my $abs_path = abs_path($file); DESCRIPTION This module provides functions for determining the pathname of the current working directory. It is recommended that getcwd (or another *cwd() function) be used in all code to ensure portability. By default, it exports the functions

setservent

setservent STAYOPEN

$^F

$^F The maximum system file descriptor, ordinarily 2. System file descriptors are passed to exec()ed processes, while higher file descriptors are not. Also, during an open(), system file descriptors are preserved even if the open() fails (ordinary file descriptors are closed before the open() is attempted). The close-on-exec status of a file descriptor will be decided according to the value of $^F when the corresponding file, pipe, or socket was opened, not the time of the exec().

prove - Run tests through a TAP harness.

NAME USAGE OPTIONS NOTES.proverc Reading from STDIN Default Test Directory Colored Test Output Exit Code Arguments to Tests --exec --merge --trap --state --rules @INC Taint Mode FORMATTERS SOURCE HANDLERS PLUGINSAvailable Plugins Writing Plugins NAME prove - Run tests through a TAP harness. USAGE prove [options] [files or directories] OPTIONS Boolean options: -v, --verbose Print all test lines. -l, --lib Add 'lib' to the path for your tests (-Ilib). -b, --blib