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

2010-05-03 Thread fakessh
hello all
hello pep network
hello guru of perl

This class is named message
this:

[r...@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;




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

2010-05-03 Thread fakessh
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 fake...@fakessh.eu wrote:
 hello all
 hello pep network
 hello guru of perl
 
 This class is named message
 this:
 
 [r...@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;