Perl Monk, Perl Meditation | |
PerlMonks |
Re: How do I get both the return value and text? backticks vs. system()by lhoward (Vicar) |
on Jun 21, 2000 at 02:00 UTC ( [id://19120]=note: print w/replies, xml ) | Need Help?? |
open has a piping syntax that you can use to pipe
data to or from a program.
You can get the exit value from $? (see perlvar).
In Section
Seekers of Perl Wisdom
|
|