Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: What's so bad about &function(...)?

by Limbic~Region (Chancellor)
on Dec 07, 2005 at 18:17 UTC ( [id://514954]=note: print w/replies, xml ) Need Help??


in reply to What's so bad about &function(...)?

japhy,
I think it is half cargo-culting the mantra where the difference between &sub and &sub() is unknown by the chanter and half a good rule of thumb. You can't get bitten by a confusing @_ or circumvented prototype if you avoid using a preceding & all together.

Cheers - L~R

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2024-04-20 04:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found