in reply to Software Error: Close.pm
Here is an excerpt of the synopisis, straight from perldoc Mail::Mailer:
use Mail::Mailer; $mailer->open(\%headers); print $mailer $body; $mailer->close;
$mailer is a file handle object you print to, not variable you assign to. Unfortunately, after the assignment
, it was simply a string, so anytime thereafter, $mailer->close; was doomed to fail.$mailer = $query->param('Title');
What you really wanted was (probably - untested): print $mailer query->param('Title'); etc.
--Bob Niederman, http://bob-n.com
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Software Error: Close.pm
by Nickd_69 (Novice) on Aug 22, 2003 at 00:51 UTC | |
by bobn (Chaplain) on Aug 22, 2003 at 02:39 UTC | |
by Nickd_69 (Novice) on Aug 22, 2003 at 04:32 UTC | |
by bobn (Chaplain) on Aug 22, 2003 at 04:49 UTC |