Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^3: Windows Net Use

by soonix (Deacon)
on Mar 28, 2013 at 16:48 UTC ( #1025998=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Windows Net Use
in thread Windows Net Use

For the human eye it looks more gibberish, but for parsing it is less error prone.

As marto already pointed out, the best solution is Text::CSV. Since CSV means "comma separated values", the second best is splitting on the commas.

The first line that WMIC outputs, BTW, contains the field names.


Comment on Re^3: Windows Net Use

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (12)
As of 2014-07-29 21:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (228 votes), past polls