Help for this page

Select Code to Download


  1. or download this
    sub putHeader {
        my $db_name = shift;
    ...
    
        return $header
    }
    
  2. or download this
    open my $fh, '|-', 'mailx -s "List report" test@mail' or die "ERROR: C
    +ouldn't open pipe: $!";
    print $fh $generatedMailText or die "ERROR: Couldn't write to pipe: $!
    +";
    close $fh or die "ERROR: Closing pipe failed: $!";