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 ( #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? | Other CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2022-05-16 11:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (62 votes). Check out past polls.

    Notices?