Just another Perl shrine | |
PerlMonks |
Re: Naming Anonymous Subsby Elian (Parson) |
on Oct 20, 2004 at 21:33 UTC ( [id://400995]=note: print w/replies, xml ) | Need Help?? |
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...
In Section
Seekers of Perl Wisdom
|
|