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 ( #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?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (13)
As of 2014-07-10 22:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (217 votes), past polls