Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

dgl (5868)

dgl
  (email not shown publicly)
http://dgl.cx/

Journal of dgl (5868)

Wednesday January 02, 2008
06:15 AM

perlbug--

[ #35266 ]
So I typed a bug out, went to send it and got:

Action (Send/Display/Edit/Subject/Save to File): Send
Are you certain you want to send this message?
Please type "yes" if you are: yes

Sendmail returned status '2'
dgl: ~ %

OK, my fault for not having a working sendmail binary, but still, it could have handled it better. The code has what I feel is quite an important TODO:

# TODO: - Allow the user to re-name the file on mail failure, and
#       make sure failure (transmission-wise) of Mail::Send is
#       accounted for.

Losing bugs that I just spent 10 minutes typing isn't good (although I'll get around to submitting it soon).

Also, it seems the old behaviour was to keep the temp files around but for security reasons if File::Temp is installed it does:

my ($fh, $filename) = File::Temp::tempfile(UNLINK => 1);

(Note the UNLINK.)

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.