Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^4: Array iterator factory (&)

by Roy Johnson (Monsignor)
on Mar 17, 2005 at 04:55 UTC ( #440265=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Array iterator factory (&)
in thread Array iterator factory

I'm sorry, Tye, I may be a little dopey this evening. What point are you making?

Update: Ah, it's related to ihb's post. Using & to call functions bypasses prototypes.


Caution: Contents may have been coded under pressure.


Comment on Re^4: Array iterator factory (&)
Re^5: Array iterator factory (&)
by tye (Cardinal) on Mar 17, 2005 at 16:53 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
Node Status?
node history
Node Type: note [id://440265]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (7)
As of 2014-12-25 19:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (162 votes), past polls