Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Using Map and RegEx for data extraction

by jonadab (Parson)
on Oct 14, 2014 at 10:42 UTC ( [id://1103704]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    print map {
            my @list = split /,/, $_;
            map {s/"//g} @list;
            $list[1];
        } `tasklist /FI "IMAGENAME eq perl.exe" /NH /FO CSV`;
    
  2. or download this
    print map {
            (map {s/"//g} split /,/, $_)[1]
        } `tasklist /FI "IMAGENAME eq perl.exe" /NH /FO CSV`;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (4)
As of 2024-04-20 12:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found