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

Re: Custom "sort" routine

by revdiablo (Prior)
on Feb 09, 2009 at 17:03 UTC ( #742487=note: print w/replies, xml ) Need Help??

in reply to Custom "sort" routine

Are you sure you even need a custom sort? I don't get what you listed when I use the standard sort. I get the following: .coop

Which is exactly what you said you wanted. Am I missing something in your example?

For reference, here is my code:

my @items = qw( .coop ); for (sort @items) { print "$_\n"; }

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (15)
As of 2016-10-21 16:04 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (289 votes). Check out past polls.