Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Perl Syntax

by talexb (Canon)
on Oct 31, 2013 at 15:06 UTC ( #1060592=note: print w/ replies, xml ) Need Help??


in reply to Perl Syntax

Since no one's said it yet, I'll mention that $a and $b aren't usually used as variable names in Perl, as they are special variables inside a sort block.

And, as other people have mentioned, this code smells badly. Very badly.

Alex / talexb / Toronto

Thanks PJ. We owe you so much. Groklaw -- RIP -- 2003 to 2013.


Comment on Re: Perl Syntax
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (10)
As of 2014-09-21 08:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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











    Results (167 votes), past polls