Hi All,
 
When Im trying use Embperl::Html example /as is in doc./
[-
 
use Embperl::Mail ;
$msg='mail body';
EMbperl::Mail::Execute ({     input       => \$msg,
                                          subject    => 'Test Embperl::Mail::Execute',
                                          to            => 'some@some.some'}) ;
     -]
I recieved this error message:
 
[Mon Sep 23 12:56:56 2002] [warn] [26416]ERR:  32:  Warning in Perl code: String found where operator expected at /usr/lib/p
  (Might be a runaway multi-line "" string starting on line 79)                                                            
[Mon Sep 23 12:56:56 2002] [warn] [26416]ERR:  32:  Warning in Perl code:       (Missing semicolon on previous line?)      
[Mon Sep 23 12:56:56 2002] [warn] [26416]ERR:  32:  Warning in Perl code: Bareword found where operator expected at /usr/lib
[Mon Sep 23 12:56:56 2002] [error] [26416]ERR:  24:  Error in Perl code: syntax error at /usr/lib/perl5/site_perl/5.6.0/i386
Global symbol "$from" requires explicit package name at /usr/lib/perl5/site_perl/5.6.0/i386-linux/Embperl/Mail.pm line 79. 
Global symbol "$to" requires explicit package name at /usr/lib/perl5/site_perl/5.6.0/i386-linux/Embperl/Mail.pm line 79.   
Global symbol "$to" requires explicit package name at /usr/lib/perl5/site_perl/5.6.0/i386-linux/Embperl/Mail.pm line 79.   
Global symbol "$to" requires explicit package name at /usr/lib/perl5/site_perl/5.6.0/i386-linux/Embperl/Mail.pm line 79.   
Global symbol "$to" requires explicit package name at /usr/lib/perl5/site_perl/5.6.0/i386-linux/Embperl/Mail.pm line 79.   
Global symbol "$cc" requires explicit package name at /usr/lib/perl5/site_perl/5.6.0/i386-linux/Embperl/Mail.pm line 79.   
Global symbol "$cc" requires explicit package name at /usr/lib/perl5/site_perl/5.6.0/i386-linux/Embperl/Mail.pm line 79.   
Global symbol "$cc" requires explicit package name at /usr/l                                                               
[Mon Sep 23 12:56:57 2002] [error] [26416]ERR:  24:  Error in Perl code: Undefined subroutine &Embperl::Mail::Execute called
 
My instalation: Embperl 2.0b8, Perl 5.6
 
It seems like syntax bug in Embperl/mail.pm.
 
Thanks anyway
 
                Jan Kyncl