Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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 meditating upon the Monastery: (10)
As of 2014-09-17 12:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (74 votes), past polls