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

Re^3: Array iterator factory (&)

by tye (Sage)
on Mar 17, 2005 at 03:25 UTC ( [id://440251]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Array iterator factory
in thread Array iterator factory

Don't forget the power of &array_iterator([1..10]).

- tye        

Replies are listed 'Best First'.
Re^4: Array iterator factory (&)
by Roy Johnson (Monsignor) on Mar 17, 2005 at 04:55 UTC
      Ah, it's related to ihb's post.

      No, not directly. ihb's post is about avoiding using ampersand without parens to call subroutines except for "advanced purposes" (if you don't know what those are, then you shouldn't be doing them). Using ampersand with parens is great for bypassing prototypes and/or for ensuring you call a user-defined function even if there might be a built-in function by the same name.

      - tye        

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2024-04-25 11:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found