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).