in reply to Re^2: sendmail close error
in thread sendmail close error
print MAIL ...... or warn "print to MAIL failed".
Other way to code:
#!/usr/bin/perl -w use strict; my $status = print "this is a test\n"; print "first print returned $status\n"; __END__ output: this is a test first print returned 1
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: sendmail close error
by vit (Friar) on Jul 21, 2011 at 18:46 UTC | |
by Marshall (Canon) on Jul 21, 2011 at 21:35 UTC |