Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: OUR declaration

by nobull (Friar)
on Sep 23, 2006 at 12:43 UTC ( [id://574510]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use AtExit;
    
    ...
        }
        $recursive1->();
    }
    
  2. or download this
    our ($various,%shared,@vars);
    
    ...
        # recursive1() and recursive2()
        frobnicate(\&recursive1);
    }
    
  3. or download this
    use strict;
    use warnings;
    ...
    bar('Hello');   # Prints 'Hello Hello Hello'
    bar('Goodbye'); # Prints 'Goodbye Goodbye Goodbye'
    __END__
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (7)
As of 2024-03-28 08:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found