in reply to Re: Can you guess the result? Is it a bug?
in thread Can you guess the result? Is it a bug?

Eh? I thought a LIST would evaluate to it's final element in scalar context -- so in this case, they should evaluate to 0, '', and undef respectively.

Only an ARRAY would eval to the number of elements...

Am I missing something?

Matt

  • Comment on Re: Re: Can you guess the result? Is it a bug?

Replies are listed 'Best First'.
Re: Re: Re: Can you guess the result? Is it a bug?
by sauoq (Abbot) on Jul 31, 2003 at 23:49 UTC
    Am I missing something?

    Yes. See tye's reply to me in which he explains it more precisely than I did.

    -sauoq
    "My two cents aren't worth a dime.";