Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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?
[erix]: gruesome fun

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (10)
As of 2017-11-20 22:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (294 votes). Check out past polls.

    Notices?