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

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.
  • I almost always find out about a module or two I didn't know about. I don't do much web work, mostly automation/background processing stuff, and that Proc::PID_File would make a much simpler replacement for some of the "Am I already running" stuff I've written. At least what I've written is better than the "grep the output of ps -ef for $0" stuff that I've seen :-) It might be useful though, to allow sending in the pid of a parent process, so that already deployed shell scripts can pass in their pids to a simple perl script and I can get rid of those godawful 'ps -ef | grep $0' in the shell scripts.

    As for sending mail, I tend to use Mail::Sender, because it makes sending attachments easy (and I use it whether or not I'm sending attachments), and when I was looking for such a module, and it came up before MIME::Lite (searching for 'mail attachments' on search.cpan.org).