Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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 avoiding work at the Monastery: (8)
As of 2017-03-24 20:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (307 votes). Check out past polls.