Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: @_ still mystifies me

by Zaxo (Archbishop)
on Jun 01, 2002 at 15:38 UTC ( #170922=note: print w/ replies, xml ) Need Help??


in reply to @_ still mystifies me

You're getting bit by both the low precedence of operator or and its scalar context.. I think you mean:

my @lexlist = @_ ? @_ : sort keys %lexicon;
I nearly got bit by context there myself :)

After Compline,
Zaxo


Comment on Re: @_ still mystifies me
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2014-12-27 09:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (176 votes), past polls