When you say sort(\@got_files), sort sees a one-element list that contains an array reference. Since you want to sort the array, you have to pass sort the list, not a reference that contains it. HTH.
#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.
In reply to Re^6: inconistent test results when using is_deeply to test an array returned from a function
by kennethk
in thread inconistent test results when using is_deeply to test an array returned from a function
by APGRMF
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |