> On Thu, 11 Jul 1996, Brett Lemoine wrote:
>
> > I'd like to see the following change made to config_parse.pl:
>
> I'm interested in knowing why...
I haven't done a detailed analysis of what's happening, but it appears
as if the 'FileHandle' is doing an eval at some point which sets the $@
to 'Not a GLOB reference:...'. Around times when I'm opening and
closeing files, if I call get_config from my package, I often get
the error (warning?) printed out among the HTML output of my code.
I'm fairly certain it's not my code since I'm not even using eval
anywhere at this time in development. My guess would be that it's
an oddity of the FileHandle package doing some checking on cleanup..
The change I suggest would only check (and print) the value of $@
if the preceding line's eval was actually executed. As it stands
currently, the $@ from a completely different package is being
displayed, sometimes _very_ far from where the actual eval occured.
bl.
--
//= Brett G. Lemoine =====================================================\\
|| Silicon Graphics | "There are two major products that come out ||
|| Server Operations, I/S | of Berkeley: LSD and UNIX. ||
|| Senior System Operator | We don't believe this to be a coincidence." ||
|| blemoine@sgi.com | -- Jeremy S. Anderson ||
|+------------------------+------------------------------------------------+|
\\ PGP Key Fingerprint: 68 A1 2A 2D 82 CE E9 70 5B 80 D1 11 EC F3 FB 85 //
|
|