Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: What's the difference between stat and sort?

by Tomte (Priest)
on Jul 15, 2004 at 10:00 UTC ( [id://374586]=note: print w/replies, xml ) Need Help??


in reply to What's the difference between stat and sort?

works perfectly:

[1158]tom@margo scratch $ perl -e 'my $lf = (sort(<*>))[-1]; print $lf +, "\n";' zoom?id=aaaaaaaaaaaawax
zoom... is (a file wget produced and) the last element in the sorted list.

What did you expect? What did you get?

regards,
tomte


An intellectual is someone whose mind watches itself.
-- Albert Camus

Log In?
Username:
Password:

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

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

    No recent polls found