Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^3: For vs. Foreach

by tilly (Archbishop)
on Feb 13, 2009 at 19:49 UTC ( #743675=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Attribute::Handlers;
    
    ...
    sub foo :foreach {}
    
    foo();
    
  2. or download this
    use Attribute::Handlers;
    sub for :ATTR {
    ...
    }
    sub foo :for {}
    foo();
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2021-01-18 01:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?