Help for this page

Select Code to Download


  1. or download this
      $const{mail_to} = $1 if $mail =~ m/To: (.*?)\n/s;
    
  2. or download this
      ($const{mail_to}) = $mail =~ m/To: (.*?)\n/s;
    
  3. or download this
    use IO::File;
    use File::Copy;
    ...
      move( $file => $maildir.'parsed/'.$currentfile ) or unlink $file or
        die "Error moving/deleting $file - $!\n";
    }