BEGIN

BEGIN These compile phase keywords are documented in BEGIN, UNITCHECK, CHECK, INIT and END in perlmod.

base - Establish an ISA relationship with base classes at compile time

NAME SYNOPSIS DESCRIPTION DIAGNOSTICS HISTORY CAVEATS SEE ALSO NAME base - Establish an ISA relationship with base classes at compile time SYNOPSIS package Baz; use base qw(Foo Bar); DESCRIPTION Unless you are using the fields pragma, consider this module discouraged in favor of the lighter-weight parent . Allows you to both load one or more modules, while setting up inheritance from those modules at the same time. Roughly similar in effect to package Baz; BEGIN { require Foo; requir

B::Xref - Generates cross reference reports for Perl programs

NAME SYNOPSIS DESCRIPTION OPTIONS BUGS AUTHOR NAME B::Xref - Generates cross reference reports for Perl programs SYNOPSIS perl -MO=Xref[,OPTIONS] foo.pl DESCRIPTION The B::Xref module is used to generate a cross reference listing of all definitions and uses of variables, subroutines and formats in a Perl program. It is implemented as a backend for the Perl compiler. The report generated is in the following format: File filename1 Subroutine subname1 Package package1 object1 li

B::Terse - Walk Perl syntax tree, printing terse info about ops

NAME SYNOPSIS DESCRIPTION AUTHOR NAME B::Terse - Walk Perl syntax tree, printing terse info about ops SYNOPSIS perl -MO=Terse[,OPTIONS] foo.pl DESCRIPTION This module prints the contents of the parse tree, but without as much information as B::Debug. For comparison, print "Hello, world." produced 96 lines of output from B::Debug, but only 6 from B::Terse. This module is useful for people who are writing their own back end, or who are learning about the Perl internals. It's not useful to the

B::Showlex - Show lexical variables used in functions or files

NAME SYNOPSIS DESCRIPTION EXAMPLESOPTIONS SEE ALSO TODO AUTHOR NAME B::Showlex - Show lexical variables used in functions or files SYNOPSIS perl -MO=Showlex[,-OPTIONS][,SUBROUTINE] foo.pl DESCRIPTION When a comma-separated list of subroutine names is given as options, Showlex prints the lexical variables used in those subroutines. Otherwise, it prints the file-scope lexicals in the file. EXAMPLES Traditional form: $ perl -MO=Showlex -e 'my ($i,$j,$k)=(1,"foo")' Pad of lexical names for comp

B::Deparse - Perl compiler backend to produce perl code

NAME SYNOPSIS DESCRIPTION OPTIONS USING B::Deparse AS A MODULESynopsis Description new ambient_pragmas coderef2text BUGS AUTHOR NAME B::Deparse - Perl compiler backend to produce perl code SYNOPSIS perl -MO=Deparse[,-d][,-fFILE][,-p][,-q][,-l] [,-sLETTERS][,-xLEVEL] prog.pl DESCRIPTION B::Deparse is a backend module for the Perl compiler that generates perl source code, based on the internal compiled structure that perl itself creates after parsing a program. The output of B::Deparse won't

B::Debug - Walk Perl syntax tree, printing debug info about ops

NAME SYNOPSIS DESCRIPTION OPTIONS AUTHOR LICENSE NAME B::Debug - Walk Perl syntax tree, printing debug info about ops SYNOPSIS perl -MO=Debug foo.pl perl -MO=Debug,-exec foo.pl DESCRIPTION See ext/B/README and the newer B::Concise, B::Terse. OPTIONS With option -exec, walks tree in execute order, otherwise in basic order. AUTHOR Malcolm Beattie, mbeattie@sable.ox.ac.uk Reini Urban rurban@cpan.org LICENSE Copyright (c) 1996, 1997 Malcolm Beattie Copyright (c) 2008, 2010, 2013, 2014 Reini Urb

B::Concise - Walk Perl syntax tree, printing concise info about ops

NAME SYNOPSIS DESCRIPTION EXAMPLE OPTIONSOptions for Opcode Ordering Options for Line-Style Options for tree-specific formatting Options controlling sequence numbering Other options Option Stickiness ABBREVIATIONSOP class abbreviations OP flags abbreviations FORMATTING SPECIFICATIONSSpecial Patterns # Variables One-Liner Command tips Using B::Concise outside of the O frameworkExample: Altering Concise Renderings set_style() set_style_standard($name) add_style () add_callback () Running B

B - The Perl Compiler Backend

NAME SYNOPSIS DESCRIPTION OVERVIEW Utility FunctionsFunctions Returning B::SV, B::AV, B::HV, and B::CV objects Functions for Examining the Symbol Table Functions Returning B::OP objects or for walking op trees Miscellaneous Utility Functions Exported utility variables OVERVIEW OF CLASSESSV-RELATED CLASSES B::SV Methods B::IV Methods B::NV Methods B::RV Methods B::PV Methods B::PVMG Methods B::MAGIC Methods B::PVLV Methods B::BM Methods B::REGEXP Methods B::GV Methods B::IO Methods B::AV Meth

autouse - postpone load of modules until a function is used

NAME SYNOPSIS DESCRIPTION WARNING AUTHOR SEE ALSO NAME autouse - postpone load of modules until a function is used SYNOPSIS use autouse 'Carp' => qw(carp croak); carp "this carp was predeclared and autoused "; DESCRIPTION If the module Module is already loaded, then the declaration use autouse 'Module' => qw(func1 func2($;$)); is equivalent to use Module qw(func1 func2); if Module defines func2() with prototype ($;$), and func1() has no prototypes. (At least if Module uses Exporter '