Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: Unusual sorting requirements; comparing three implementations.

by afoken (Monsignor)
on Oct 24, 2012 at 11:19 UTC ( #1000608=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub x {
        my @sorted = map $_->[1],
    ...
            $_->title eq 'Manager' ? 'A'.$_->name : 'B'.$_->name, $_
        ], @employees;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1000608]
help
Chatterbox?
[RonW]: My daughter and I like to "fly" Flightgear. What ever aircraft we pick, she usually shoots me out of the sky
[Corion]: Oooh. I didn't know about Flightgear. I've been looking at maybe playing with a flight simulator again, thanks!

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (8)
As of 2017-02-27 18:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (390 votes). Check out past polls.