Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

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

by mojotoad (Monsignor)
on Jul 31, 2003 at 23:30 UTC ( [id://279818]=note: print w/replies, xml ) Need Help??


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.";
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://279818]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (1)
As of 2024-04-26 02:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found