Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: how to declare a local *subname=sub{}?

by Corion (Patriarch)
on Oct 31, 2016 at 09:48 UTC ( [id://1175004]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use feature 'lexical_subs';
    
    ...
    }
    
    print foo('World');
    
  2. or download this
    use feature 'lexical_subs';
    
    ...
    }
    
    print foo('World');
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2024-04-26 09:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found