ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl6-language
perl6-language
Re: Musing on registerable event handlers for some specific events
by Adam Kennedy other posts by this author
Jun 9 2005 12:04AM messages near this date
Re: Musing on registerable event handlers for some specific events | Re: Musing on registerable event handlers for some specific events
>  : If it can be done in less than 10 lines lines of code, to get the most 
>  : minimal hooks into the core, I'd like to see it done.
>  
>  10 lines?  I laugh in your general direction.

No really. In perl itself, I just to see...

throw Event("CORE::prefork") if $Event::Manager::VERSION;

...or something equally simple.

Fair enough Event::Manager itself might be a little larger... but even 
then it shouldn't need to be more than a couple of dozen lines.

prefork.pm is currently about 30-40, and you should only need the 
hashified version of it.
Thread:
Adam Kennedy
Juerd
Larry Wall
Adam Kennedy
Gaal Yahas
Adam Kennedy
Larry Wall

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved