We don't bite newbies here... much | |
PerlMonks |
Re: Why cant i save output of tasklist.exe in an array?by Bloodnok (Vicar) |
on Apr 10, 2014 at 10:29 UTC ( [id://1081786]=note: print w/replies, xml ) | Need Help?? |
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 :-))
In Section
Seekers of Perl Wisdom
|
|