Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

BEGIN vs initialization

by Wiggins (Hermit)
on Nov 28, 2009 at 20:32 UTC ( [id://809940]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #GBL.pm
    package Gbl;
    ...
    #our $runContext = 1;         # HTTP ...variable assignment might be a
    +fter BEGIN
    # ...
    1
    
  2. or download this
    #main.pl
    use feature qw( :5.10 );
    ...
    use parseHTMP;
    use parseSMTP;
    #...
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://809940]
Approved by broomduster
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2024-03-29 01:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found