Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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

by zentara (Archbishop)
on Dec 08, 2005 at 13:38 UTC ( [id://515236]=note: print w/replies, xml ) Need Help??


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

It gets further complicated by the widely used references to subs, which contain ampersands, and is never critisized.
$window->signal_connect( 'destroy' => \&delete_event );

I'm not really a human, but I play one on earth. flash japh

Replies are listed 'Best First'.
Re^2: What's so bad about &function(...)?
by revdiablo (Prior) on Dec 08, 2005 at 17:28 UTC
    the widely used references to subs ... is never critisized

    That's not criticized because it's the only way to take a reference to a subroutine, short of pulling it out using the typeglob (which is even uglier).

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (3)
As of 2024-04-16 06:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found