Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Hash keys affect sorting

by johngg (Canon)
on Jul 07, 2006 at 16:22 UTC ( [id://559821]=note: print w/replies, xml ) Need Help??


in reply to Hash keys affect sorting

Just a quick observation. Your split /\n/,$output will have the effect of removing the newlines from each line as the split delimiter is not included in the resulting list. Thus the following chomp $line; is superfluous.

Cheers,

JohnGG

Replies are listed 'Best First'.
Re^2: Hash keys affect sorting
by 0xbeef (Hermit) on Jul 07, 2006 at 21:12 UTC
    Well spotted - it's an oversight that happened when I simplified the actual code into an example...

    Niel

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2024-04-24 15:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found