Re: New perl packages
Brendan O'Dea <bod@debian.org> writes:
> On Tue, Jan 30, 2001 at 09:16:49AM +0100, Jérôme Marant wrote:
> Odd. I carried over many of the patches Darren had applied, but not
> that one as the fix of adding parenthesis seemed rather dubious to me
> ("&_PATH_LOG || croak" and "&_PATH_LOG() || croak" should behave
> identically in this instance), and I was further unable to duplicate the
> error:
I don't know if this has anything to do with it, but:
If @_ is defined then you call a sub without using (), the old value
of @_ will still be defined inside the sub. If the sub check for
input parameters, it will use the old values. That can make things
confusing.
--
/ Jonas - http://jonas.liljegren.org/myself/en/index.html
Reply to: