Inpecting $@ and caller() after an eval will yield:

    Error message (eval 6750):428

How does one view line 428. Are there formal hooks with which (immediately following an eval) one can:

     my $eval_number = ???;
     my $eval_contents = ???( $eval_number );

The debugger seems to do a good job of this. The ideal (for me) is to write 'eval_6750.pm' at a known location for later analysis.

-Ryan

PS current method is to:

    a) parse results from caller to get eval number
    b) keep a handle on what was passed to eval

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to