Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Custom Sort An AoA

by davido (Archbishop)
on Apr 01, 2014 at 18:30 UTC ( #1080621=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Test::More tests => 1;
    
    ...
    diag "@{$_}\n" for @sorted;
    
    is_deeply( \@sorted, \@wanted, 'Sorted array matches expectation.' );
    
  2. or download this
    1..1
    # one
    ...
    # zzz def ghi
    # blah asdf foo bar
    ok 1 - Sorted array matches expectation.
    
  3. or download this
    use Test::More tests => 1;
    
    ...
    diag "@{$_}\n" for @sorted;
    
    is_deeply( \@sorted, \@wanted, 'Sorted array matches expectation.' );
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2014-08-23 21:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (178 votes), past polls