in reply to Re: Yet another tool for sending out newsletters
in thread Yet another tool for sending out newsletters

Aristotle, with your code i get the following errors:
Useless use of a constant in void context at /usr/local/share/perl/5.6 +.1/Mail/Bulkmail.pm line 1173. Use of uninitialized value in string comparison (cmp) at ./bulkmail.pl + line 38.

Edited: ~Wed Aug 14 22:25:41 2002 (GMT) by footpad: Replaced <tag> tags with <code> tags, per Consideration

Replies are listed 'Best First'.
Re^3: Yet another tool for sending out newsletters
by Aristotle (Chancellor) on Aug 13, 2002 at 13:24 UTC

    Hmm.. no idea. :-) I don't actually have the module installed myself, just wrote the above source from the Mail::Bulkmail POD and the bits you provided. I'm not sure why this happens, although I figure it's because rather than a filename it's passing an array reference as the address list. According to the documentation, that is allowed (as would have been passing a coderef). If I had the module, I'd look into it.. maybe tonight when I'm home again.

    Update: Duh, of course.

    Makeshifts last the longest.

      'read my $mail, $mailfile, -s $mailfile;'
      should be
      'read $mailfile, my $mail, -s $mailfile;'