Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

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

by Anonymous Monk
on Dec 08, 2005 at 16:48 UTC ( [id://515294]=note: print w/replies, xml ) Need Help??


in reply to Re^4: What's so bad about &function(...)?
in thread What's so bad about &function(...)?

But why is @{\@foo} wrong? Whatever the answer is, the same could be said of &foo() (aside from the extremely tiny overhead of taking and dereffing a ref). It's only wrong in the sense that:

 $great_answer=(((1+1)**(1+1+1))-1)*(1+1+1)*(1+1);

is "wrong"; it's too complicated, and "should" read:
 $great_answer=42;

(Alternatively, it's overly complicated for some good reason which was left undocumented, which is IMHO more wrong. :-) )

Log In?
Username:
Password:

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

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

    No recent polls found