Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Re: Scoping issue when sorting with subroutines

by broquaint (Abbot)
on Apr 12, 2002 at 15:49 UTC ( #158614=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub foo {
        my $x = "a var in foo()";
    ...
    __output__
    
    $x is - []
    
  2. or download this
    sub foo {
        my $x = "a var in foo()";
    ...
    __output__
    
    $x is - [a var in foo()]
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://158614]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (2)
As of 2017-04-30 21:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (543 votes). Check out past polls.