Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: refine output of Dumper

by Loops (Curate)
on Oct 24, 2014 at 10:19 UTC ( [id://1104845]=note: print w/replies, xml ) Need Help??


in reply to refine output of Dumper

Hi there. I don't believe you about having to use Dumper ;o) And why not use Perl instead of relying on the external grep command?:

my $StatChk='/tmp/teststatus.txt'; open my $DChk, '<', $StatChk || die "Failed: $!\n"; my @SChk_Out = grep {!/OK/} <$DChk>; close ($DChk); print @SChk_Out;
Update: Okay I should have believed; my bad.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2024-04-19 22:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found