Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: issue with grep in the output of a command

by pme (Prior)
on Jul 25, 2015 at 12:49 UTC ( #1136283=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Data::Dumper;
    
    my @out = grep /FC_DVT/, split("\n", $out);
    
    print Dumper( \@out ) . "\n";
    
  2. or download this
    $VAR1 = [
              'cfg:   FC_DVT  MEZZI; MEZZI1',
              'cfg:   FC_DVT'
            ];
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2020-02-19 04:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What numbers are you going to focus on primarily in 2020?










    Results (80 votes). Check out past polls.

    Notices?