Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: How to get sort-like semantics?

by friedo (Prior)
on Oct 25, 2007 at 13:59 UTC ( [id://647175]=note: print w/replies, xml ) Need Help??


in reply to Re: How to get sort-like semantics?
in thread How to get sort-like semantics?

The use vars isn't necessary, since you're using a lexical $a and $b.

Replies are listed 'Best First'.
Re^3: How to get sort-like semantics?
by duelafn (Parson) on Oct 26, 2007 at 19:55 UTC

    I was wondering about that when I copied the code over. My conjecture was that use vars was needed for an older version of perl, but I have no guess as to why an older perl might need it or what version of perl needs it.

    Good Day,
        Dean

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-03-29 01:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found