Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re^3: Array iterator factory (&)

by tye (Sage)
on Mar 17, 2005 at 03:25 UTC ( #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        

Comment on Re^3: Array iterator factory (&)
Download Code
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?

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (14)
As of 2015-11-30 16:18 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (777 votes), past polls