Re: I do not understand the error CGI that I get CGI using Email:: Simple
[email protected] (Ricardo Signes) Tue, 4 May 2010 07:41:26 -0400
| Newsgroups | perl.pep |
|---|---|
| Message-ID | <[email protected]> |
* fakessh <[email protected]> [2010-05-03T20:55:20] > click error > > > when I am not MIME:: Lite > I find myself with a CGI error in httpd and browser. > I do not understand why What's the error? > > package PerlWebmail::Message; > > use base qw(MIME::Lite); > > use base qw(Email::Simple); Extending both those classes at once seems doomed to fail a lot. > > sub mail > > { > > my ($self, $message) = @_; > > my $obj = Email::Simple->new($message); > > print $obj->as_string; > > $Self->new; > > } You said $Self instead of $self. -- rjbs