Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

lexicals are all the same scalar and never go out of scope?

by patcat88 (Deacon)
on Dec 06, 2011 at 08:39 UTC ( #941973=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
    if($@) {
    print("failed in eval with\n\"$@\"\n".Dumper(\@savearr));    
    }
    
  2. or download this
    C:\Documents and Settings\Owner\Desktop>perl ro.pl
    failed in eval with
    ...
            ];
    
    C:\Documents and Settings\Owner\Desktop>
    
  3. or download this
    C:\Documents and Settings\Owner\Desktop>perl ro.pl
    $VAR1 = [
    ...
            ];
    
    C:\Documents and Settings\Owner\Desktop>
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (8)
As of 2016-07-27 13:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (242 votes). Check out past polls.