in reply to RE: Re: How to tell eval where the code is from
in thread How to tell eval where the code is from
Now when an error triggers, you'll get$code = $database{$AUTOLOAD}; $pseudo_file = get_pseudo_for($AUTOLOAD); # like "Database_entry_for_p +kg::foo" eval qq{#line 1 "$pseudo_file"\n$code}; ...
in $@ Use the cpp triggers, luke!whatever error from Database_entry_for_pkg::foo, line 14
-- Randal L. Schwartz, Perl hacker
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: RE: RE: Re: How to tell eval where the code is from
by Yaakov (Novice) on Aug 08, 2000 at 16:58 UTC |