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.' );