Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: list/array context mystery

by clintp (Curate)
on Apr 24, 2001 at 04:19 UTC ( [id://74920]=note: print w/replies, xml ) Need Help??


in reply to list/array context mystery

For what it's worth, under 5.6 the last two examples do result in undef.

Under 5.00503 (the only older version I had laying around) it produces "one". You might want to wander through the changelogs for 5.6 and see what might have fixed this if you're really curious.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (6)
As of 2024-04-19 13:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found