in reply to Naming Anonymous Subs
Any reason to not just shove the anonymous sub reference into the appropriate slot in the glob in the global namespace? Not that I'm against XS by any means, but:
*Foo::Bar::baz{CODE} = $coderefseems fairly straightforward...
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Naming Anonymous Subs
by blokhead (Monsignor) on Oct 20, 2004 at 22:21 UTC |
In Section
Seekers of Perl Wisdom