laziness, impatience, and hubris | |
PerlMonks |
Re: Error when using system("clear") commandby andreas1234567 (Vicar) |
on Jul 17, 2007 at 14:20 UTC ( [id://627032]=note: print w/replies, xml ) | Need Help?? |
Is it possible to capture the output of the command to a variable first, then act depending on the whether the variable is defined or not?
The backtick operator is described in perlop.
-- Andreas
In Section
Seekers of Perl Wisdom
|
|