Help for this page

Select Code to Download


  1. or download this
    
    $smtp = Net::SMTP->new('Mail.Server');
    ...
    $smtp->datasend($log_data);
    $smtp->dataend();             # Finish sending the mail
    $smtp->quit;                  # Close the SMTP connection
    
  2. or download this
    $"=q;grep;;$,=q"grep";for(`find . -name ".saves*~"`){s;$/;;;/(.*-(\d+)
    +-.*)$/;
    $_=["ps -e -o pid | "," $2 | "," -v "," "];`@$_`?{print"+ $1"}:{print"
    +- $1"}&&`rm $1`;
    print$\;}