Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

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

by karlgoethebier (Vicar)
on Dec 01, 2012 at 23:22 UTC ( #1006650=note: print w/ replies, xml ) Need Help??


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

Sorry about that awkward typo: should have been hours...

«The Crux of the Biscuit is the Apostrophe»


Comment on Re^4: How can i debug compound map/grep statements just using print?
Replies are listed 'Best First'.
Re^5: How can i debug compound map/grep statements just using print?
by Kenosis (Priest) on Dec 01, 2012 at 23:59 UTC

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

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

      «The Crux of the Biscuit is the Apostrophe»

        Indeed!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1006650]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (13)
As of 2015-07-07 22:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls