Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

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

by Kenosis (Priest)
on Dec 01, 2012 at 19:01 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1006628]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2024-04-25 16:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found