perlhacktips - Tips for Perl core C code hacking

NAME DESCRIPTION COMMON PROBLEMSPerl environment problems Portability problems Problematic System Interfaces Security problems DEBUGGINGPoking at Perl Using a source-level debugger gdb macro support Dumping Perl Data Structures Using gdb to look at specific parts of a program Using gdb to look at what the parser/lexer are doing SOURCE CODE STATIC ANALYSISlint, splint Coverity cpd (cut-and-paste detector) gcc warnings Warnings of other C compilers MEMORY DEBUGGERSvalgrind AddressSanitizer

Thread::Semaphore - Thread-safe semaphores

NAME VERSION SYNOPSIS DESCRIPTION METHODS NOTES SEE ALSO MAINTAINER LICENSE NAME Thread::Semaphore - Thread-safe semaphores VERSION This document describes Thread::Semaphore version 2.12 SYNOPSIS use Thread::Semaphore; my $s = Thread::Semaphore->new(); $s->down(); # Also known as the semaphore P operation. # The guarded section is here $s->up(); # Also known as the semaphore V operation. # Decrement the semaphore only if it would immediately succeed. if ($s->down_nb()) {

perlpragma - how to write a user pragma

NAME DESCRIPTION A basic example Key naming Implementation details NAME perlpragma - how to write a user pragma DESCRIPTION A pragma is a module which influences some aspect of the compile time or run time behaviour of Perl, such as strict or warnings . With Perl 5.10 you are no longer limited to the built in pragmata; you can now create user pragmata that modify the behaviour of user functions within a lexical scope. A basic example For example, say you need to create a class implementing ov

perlobj - Perl object reference

NAME DESCRIPTIONAn Object is Simply a Data Structure A Class is Simply a Package A Method is Simply a Subroutine Method Invocation Inheritance Writing Constructors Attributes An Aside About Smarter and Safer Code Method Call Variations Invoking Class Methods bless, blessed, and ref The UNIVERSAL Class AUTOLOAD Destructors Non-Hash Objects Inside-Out objects Pseudo-hashes SEE ALSO NAME perlobj - Perl object reference DESCRIPTION This document provides a reference for Perl's obj

$OUTPUT_AUTOFLUSH

$OUTPUT_AUTOFLUSH

$EGID

$EGID

perlmodstyle - Perl module style guide

NAME INTRODUCTION QUICK CHECKLISTBefore you start The API Stability Documentation Release considerations BEFORE YOU START WRITING A MODULEHas it been done before? Do one thing and do it well What's in a name? Get feedback before publishing DESIGNING AND WRITING YOUR MODULETo OO or not to OO? Designing your API Strictness and warnings Backwards compatibility Error handling and messages DOCUMENTING YOUR MODULEPOD README, INSTALL, release notes, changelogs RELEASE CONSIDERATIONSVersion nu

perl - The Perl 5 language interpreter

NAME SYNOPSIS GETTING HELPOverview Tutorials Reference Manual Internals and C Language Interface Miscellaneous Language-Specific Platform-Specific Stubs for Deleted Documents DESCRIPTION AVAILABILITY ENVIRONMENT AUTHOR FILES SEE ALSO DIAGNOSTICS BUGS NOTES NAME perl - The Perl 5 language interpreter SYNOPSIS perl [ -sTtuUWX ] [ -hv ] [ -V[:configvar] ] [ -cw ] [ -d[t][:debugger] ] [ -D[number/list] ] [ -pna ] [ -Fpattern ] [ -l[octal] ] [ -0[octal/hexadecimal] ] [ -Idir ] [ -m[-]module ] [

goto

goto LABEL goto EXPR goto &NAME The goto LABEL form finds the statement labeled with LABEL and resumes execution there. It can't be used to get out of a block or subroutine given to sort. It can be used to go almost anywhere else within the dynamic scope, including out of subroutines, but it's usually better to use some other construct such as last or die. The author of Perl has never felt the need to use this form of goto (in Perl, that is; C is another matter). (The difference is that C d

Unicode::Collate - Unicode Collation Algorithm

NAME SYNOPSIS DESCRIPTIONConstructor and Tailoring Methods for Collation Methods for Searching Other Methods EXPORT INSTALL CAVEATS AUTHOR, COPYRIGHT AND LICENSE SEE ALSO NAME Unicode::Collate - Unicode Collation Algorithm SYNOPSIS use Unicode::Collate; #construct $Collator = Unicode::Collate->new(%tailoring); #sort @sorted = $Collator->sort(@not_sorted); #compare $result = $Collator->cmp($a, $b); # returns 1, 0, or -1. Note: Strings in @not_sorted , $a and $b are interpreted a