Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

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

by Kenosis (Priest)
on Dec 01, 2012 at 19:01 UTC ( #1006628=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $amount = $amount * 24 * 60 * 60;
    
  2. or download this
    $result =
      grep { /.+\.$suffix$/ and $time - ( $_->stat )[9] >= $amount }
      io($dir)->all;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1006628]
help
Chatterbox?
[soonix]: when I read "Joda time format" I thought of "Yoda time format" e.g. ss:mm:HH dd MMM YYYY :-)

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (9)
As of 2017-03-24 07:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (297 votes). Check out past polls.