Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Accessing DEBUG constant from sub-package

by Anonymous Monk
on Aug 09, 2013 at 23:21 UTC ( #1048862=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $debug;
    BEGIN { GetOptions('debug|d' => \$debug) or die }
    use constant DEBUG => $ENV{DEBUG} || $debug;
    
  2. or download this
    use Thing;
    my $obj = Thing->new;
    
  3. or download this
    use constant DEBUG => &main::DEBUG;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2022-01-20 13:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (56 votes). Check out past polls.

    Notices?