>>>>> "Marcos" == Marcos Rebelo <[EMAIL PROTECTED]> writes:
Marcos> I need to do some kind of generic log trow my code, this will Marcos> be used just in debug mode. First, you might just consider running your code under the debugger. You can make a custom debugger hook that traces exactly what you want, and gets called at every statement boundary, including subroutine entry/exit. Second, you might consider Hook::LexWrap (in the CPAN) to perform this wrapping more programatically. It's very fast, and created by the Mad Ozzie Scientist, so it's bound to have some cool applicability. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/> Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training! -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]