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

grep all matches

by hippo (Chancellor)
on Apr 17, 2021 at 15:26 UTC ( #11131412=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my ($failedTest) = grep { /FAIL/ } @reportContents;
    ...
    
  2. or download this
    for my $failedTest (grep { /FAIL/ } @reportContents) {
        ...
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (3)
As of 2021-06-25 00:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)












    Results (133 votes). Check out past polls.

    Notices?