Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

How do I whack the output of the shell command "exim -bp" into an array?

by Spickachu (Initiate)
on Jul 19, 2000 at 14:22 UTC ( #23159=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # file: Mailq_Check.pl
    
    ...
    close STDOUT;
    
    exec `perl mail_report.pl mailq_check.log`;
    
  2. or download this
    # file: mail_report.pl
    
    ...
    if ( $mail_fault_cnt > 0 ) {
        exec `more mailq_check.log| mail -s MailQ_Error sstock\@essex.ac.u
    +k`;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://23159]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2019-11-15 23:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Strict and warnings: which comes first?



    Results (85 votes). Check out past polls.

    Notices?