$output = `some command-line program`; if ($output =~ /looking for this/) { .. do this }
-- Randal L. Schwartz, Perl hacker
In reply to Re: capturing program output
by merlyn
in thread capturing program output
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |