http://www.perlmonks.org?node_id=1006659


in reply to Re^4: How can i debug compound map/grep statements just using print?
in thread How can i debug compound map/grep statements just using print?

Ah, yes--that makes sense! Used the hours calculation for all four snippets:

$amount = $amount * 60 * 60;

and got identical results, until 79 hours was used (a result difference of 2), but I suspect the division in the grep { -M >= $amount / 86400 } yields a different precision.

Interestingly, IO::All didn't see the file "song自然之歌," but File::Find::Rule did (and should have).

Replies are listed 'Best First'.
Re^6: How can i debug compound map/grep statements just using print?
by karlgoethebier (Abbot) on Dec 02, 2012 at 00:20 UTC

    I'm lucky not having a file named இளவரசன்.mp3 ;-)

    «The Crux of the Biscuit is the Apostrophe»

      Indeed!