go ahead... be a heretic | |
PerlMonks |
Re^2: GRT sort of files by timeby salva (Canon) |
on Jul 12, 2007 at 08:30 UTC ( [id://626169]=note: print w/replies, xml ) | Need Help?? |
your benchmarking code is wrong:
@files is a lexical not available from outside its scope. You are actually sorting nothing. You can solve that bug using a global variable for @files:
In Section
Cool Uses for Perl
|
|