projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Document UNIVERSAL->import deprecation in perldelta
[p5sagit/p5-mst-13.2.git]
/
utils
/
perlbug.PL
diff --git
a/utils/perlbug.PL
b/utils/perlbug.PL
index
8862a94
..
c015e25
100644
(file)
--- a/
utils/perlbug.PL
+++ b/
utils/perlbug.PL
@@
-1134,7
+1134,7
@@
sub _send_message_mailsend {
open(REP, "<$filename") or die "Couldn't open '$filename': $!\n";
while (<REP>) { print $fh $_ }
close(REP) or die "Error closing $filename: $!";
- $fh->close;
+ $fh->close or die "Error sending mail: $!";
print "\nMessage sent.\n";
}