Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

grep all matches

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


in reply to grep all matches

Replace

my ($failedTest) = grep { /FAIL/ } @reportContents; ...

with

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 lurking in the Monastery: (2)
As of 2021-05-10 02:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Perl 7 will be out ...





    Results (103 votes). Check out past polls.

    Notices?