Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

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.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1060592]
[Corion]: Heh. After a bit of hacking, the Pg parser now "just" fails because some Win32 functions of Postgres aren't included in the lib I'm hacking up. Progress, I guess :)

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2018-03-23 21:10 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (296 votes). Check out past polls.