Slash Boxes
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

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • Not quite that egregiously, but I did just get bit by such a critter. P::C griped about my "open(FILE, '>filename')" bits, not without justification, so I finally got around to remembering how they were supposed to work.

    So okay, I changed a bit of code that piped to sendmail (exim, actually).

    But then, and here's where I ran into trouble, before I tested it I made some other cleanups, one of which involved deciding to replace the hardcoded sendmail with Email::Send.

    And after some fiddling with Email::Send, I came to the conclusion that it's a Really Bad Idea to try to use that for a mailing list (at least, a mailing list that has a "To" address that shouldn't be delivered to, which is probably a Wrong Thing we're stuck with for legacy reasons) so I reverted. ...And forgot that the changed open was untested. And so I'm trying to figure out why I "suddenly" can't find sendmail. The problem can't be in the open, because it was working before! And of course after a day or so of poking at it, I finally remember that no, it actually wasn't necessarily working, and that I am in fact an idiot. (In my defense, I was running a 102 fever most of the day...)

    P::C is going to have to remain unhappy for a little while, because I'm not going to research the interaction between the pipe and the three-argument version just for the sake of one occurrence that will eventually go away. Probably in favor of Email::Send, especially if I can persuade you to patch ::Sendmail next release to -oi -t instead of the other way 'round, since that way I could pass that legacy "to" address in an argument to -t. ...

    Oh, and can you fix its two-argument open?
    • Email::Send is quite broken, and will probably be replaced by Email::Sender, when I have the tuits to finish its test suite.