Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: how to sort string in perl

by roboticus (Chancellor)
on Dec 05, 2012 at 11:41 UTC ( #1007276=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ cat bozosort.pl
    #!/usr/bin/perl
    ...
        next if grep { $list[$idx] > $_ } @list;
        say splice @list, $idx, 1;
    }
    
  2. or download this
    $ perl bozosort.pl
    0
    ...
    6
    7
    9
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1007276]
help
Chatterbox?
[Lady_Aleena]: It will leave me with 8 out of 138 modules that print something.
[atcroft]: Sounds like it will make display modifications a little easier when you are done, at least.

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2017-05-29 02:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?