Just another Perl shrine | |
PerlMonks |
Re: How to pass the output into an arrayby cdarke (Prior) |
on May 17, 2012 at 07:07 UTC ( [id://970994]=note: print w/replies, xml ) | Need Help?? |
`Back-ticks`, or qx, redirects the external program's stdout stream back into perl. Used in list context you get one element for each line of output: Of course you should be careful that there is not so much output that it busts memory.
In Section
Seekers of Perl Wisdom
|
|