[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Perl Bug?
From: |
Derek R. Price |
Subject: |
Re: Perl Bug? |
Date: |
Thu, 01 Feb 2001 19:37:30 -0500 |
"Derek R. Price" wrote:
> address@hidden wrote:
>
> > But in the very same function, if I use $_ instead of @_, which is
> > what the following line does:
>
> $_ isn't set upon function entry in perl. Only @_. The value of your $_ is
> left over from
> somewhere.
>
> By the way, I think I have amtraces 99% working. Are we going to bump heads?
Heh. I think I just found the same bug you did. scan_autoconf_config_files
was, probably
erroneously, expecting its argument in $_. It worked previously because the
only place it was
ever called from passed in $_ as an argument, so it was accidentally set
properly inside the
function.
Derek
--
Derek Price CVS Solutions Architect ( http://CVSHome.org )
mailto:address@hidden OpenAvenue ( http://OpenAvenue.com )
--
Computer Lie #1: You'll never use all that disk space.