|
|
| Keep It Simple, Stupid | |
| PerlMonks |
Re: How do I get both the return value and text? backticks vs. system()by chromatic (Archbishop) |
| on Jun 21, 2000 at 04:02 UTC ( [id://19164]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
Use backticks to get output from an executed program. Check $? for the error returned.
A pipe would work in this case, but backticks are probably simpler. Originally posted as a Categorized Answer.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||