develooper Front page | perl.pep | Postings from May 2010

Re: I do not understand the error CGI that I get CGI using Email:: Simple

Thread Previous | Thread Next
From:
fakessh
Date:
May 3, 2010 17:55
Subject:
Re: I do not understand the error CGI that I get CGI using Email:: Simple
Message ID:
0262179d5130ed50a938e3642765550e@127.0.0.1
click error


when I am not MIME:: Lite 
I find myself with a CGI error in httpd and browser. 
I do not understand why


On Tue, 04 May 2010 02:50:58 +0200, fakessh <fakessh@fakessh.eu> wrote:
> hello all
> hello pep network
> hello guru of perl
> 
> This class is named message
> this:
> 
> [root@r13151 ~]# cat
/usr/lib/perl5/site_perl/5.8.8/PerlWebmail/Message.pm
> package PerlWebmail::Message;
> use base qw(MIME::Lite);
> use base qw(Email::Simple);
> 
> sub new
> {
>   my $class = shift;
> 
>   my $self = $class->SUPER::new(@_);
> 
>   return $self;
> }
> 
> sub mail 
> {
>     my ($self, $message) = @_;
>     my $obj = Email::Simple->new($message);
>     print $obj->as_string;
>     $Self->new;
> 
> }
> 
> 1;

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About