in reply to (tye)Re: What should this do?
in thread What should this do?
Both arguments of the pair constructor are evaluated in scalar contexts. In the problem code above, that would cause the param method to be called in scalar context, which would cause its "empty return" to return undef instead of that pesky empty list.
So I guess the short answer is that it...
would just no longer be an issue there.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: (tye)Re: What should this do?
by JackHammer (Acolyte) on Sep 10, 2003 at 04:07 UTC |