Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2017-08-21 14:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (324 votes). Check out past polls.

    Notices?