You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following code, when executed, does not work. It returns an
error message "Couldn't finish running sendmail: aborting at
sendmail.cgi line 28." (note line 28 is the close(SENDMAIL) line)
You don't say what version of Perl you're running -- please use the
perlbug program to submit bug reports, both so that this information
is included, and so that they get recorded by our bug-tracking system
-- but I suspect it's 5.005_03 or earlier. If so, what you're seeing
is probably a manifestation of this:
$ perl5.00503 -e \
'open(T, "|cat") or die "open: $!\n"; close T or die "close: $!\n"'
$ perl5.6.0 -e \
'open(T, "|cat") or die "open: $!\n"; close T or die "close: $!\n"'
$ perl5.6.0 -e \
'open(T, "|cart") or die "open: $!\n"; close T or die "close: $!\n"'
open: No such file or directory
$ perl5.00503 -e \
'open(T, "|cart") or die "open: $!\n"; close T or die "close: $!\n"'
close:
$
Before 5.6.0, you often didn't get to know of a problem with a piped
open until later; now problems make the open fail. So your fix is
probably to upgrade perl, and/or to find out why you can't exec
sendmail.
Migrated from rt.perl.org#3088 (status was 'resolved')
Searchable as RT3088$
The text was updated successfully, but these errors were encountered: