$output = `mailq | grep frozen`; if ($output) { open(MAIL, "| mail -s sstock\@essex+.ac.uk"); print MAIL $output; close(MAIL); }
In reply to Re: How do I whack the output of the shell command
by Anonymous Monk
in thread How do I whack the output of the shell command "exim -bp" into an array?
by Spickachu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |