Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Why cant i save output of tasklist.exe in an array?

by Bloodnok (Vicar)
on Apr 10, 2014 at 10:29 UTC ( #1081786=note: print w/replies, xml ) Need Help??


in reply to Why cant i save output of tasklist.exe in an array?

The problem is in @cmdout = $_; - where you continually initialize the array with the current line, methinx you actually meant to code push @cmdout, $_;
A user level that continues to overstate my experience :-))

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2022-05-16 18:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (63 votes). Check out past polls.

    Notices?