Ben Tilly wrote: > Incidentally if you are using eval in this horrible way, I strongly > recommend studying > http://perldoc.perl.org/perlsyn.html#Plain-Old-Comments-(Not!) for how > to make it clear in any error messages where your subroutines were > actually defined.
I used that trick all the time, and if I'm remembering correctly, I haven't been able to find where it was officially documented before. Thanks for the pointer. (It doesn't hep that it doesn't have a specific name.) Note that Devel::Cover doesn't pick up on these line number and file name hints (or more accurately, the low-level B::* modules it uses don't) when it aggregates all the logged activity together in its reports. -Tom -- Tom Metro The Perl Shop, Newton, MA, USA "Predictable On-demand Perl Consulting." http://www.theperlshop.com/ _______________________________________________ Boston-pm mailing list [email protected] http://mail.pm.org/mailman/listinfo/boston-pm

