Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

(tye)Re: Returning information from BEGIN

by tye (Sage)
on Feb 22, 2001 at 00:21 UTC ( [id://60025]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $Err;
    BEGIN { $Err= defined $ENV{SM} }
    
  2. or download this
    my $Err= 0;
    BEGIN { $Err= 1   if  ! $ENV{SM}  }
    
  3. or download this
    my $Err;
    $Err= 1   if  ! $ENV{SM};
    $Err= 0;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2024-04-21 22:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found