Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

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

by roboticus (Canon)
on Dec 01, 2012 at 19:04 UTC ( #1006629=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $result = grep { $_ == 1 } ...a list...
    
  2. or download this
       ..new list.. = map  { $time - $_ >= $amount } ..a list..
    
  3. or download this
    my @t =
    #$result =
    ...
    #       grep { $_->name =~ /.+\.$suffix$/ } # ...and this
           io($dir)->all;
    die "<", join(", ", @t), ">\n";
    
  4. or download this
    my @t =
    #$result =
    ...
           grep { $_->name =~ /.+\.$suffix$/ } # ...and this
           io($dir)->all;
    die "<", join(", ", @t), ">\n";
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2014-12-19 04:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (70 votes), past polls