Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Processing array with suitable options

by soonix (Monsignor)
on Feb 22, 2013 at 12:21 UTC ( #1020147=note: print w/replies, xml ) Need Help??


in reply to Processing array with suitable options

In this case you can make your life easier by changing the command: wmic can output comma-separated:
wmic product where "Name like '%Provider%'" get IdentifyingNumber, Nam +e, Version /format:csv
then you can split(/,/$name) ...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1020147]
help
Chatterbox?
and the leaves swirl about...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (16)
As of 2017-07-26 13:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (394 votes). Check out past polls.