Juan B wrote:
> Ok I did it and know I get another error :-(
> here goes the error:
> Died at /usr/lib/perl5/site_perl/5.8.8/Mail/Mailer.pm
> line 284.
>
>
I don't have that module and therefore have no idea what line 284 is or
to what it applies, but here are a couple suggestions.
>
> this is
[EMAIL PROTECTED] wrote:
Im trying to run this code: (im getting this error message):
Can't use string ("From") as a HASH ref while "strict refs" in use at /
usr/lib/perl5/site_perl/5.8.8/Mail/Mailer.pm line 320.
The code:
use strict;
use warnings;
use Mail::Mailer;
my @lines = ();
open (INFO
From: Juan B <[EMAIL PROTECTED]>
> Ok I did it and know I get another error :-(
> here goes the error:
> Died at /usr/lib/perl5/site_perl/5.8.8/Mail/Mailer.pm
> line 284.
That's not a very informative error message. anyway maybe it's time
to go read the Mail::Mailer's docs. Sea
Ok I did it and know I get another error :-(
here goes the error:
Died at /usr/lib/perl5/site_perl/5.8.8/Mail/Mailer.pm
line 284.
this is the code:
use strict;
use warnings;
use Mail::Mailer;
my @lines = ();
open (INFO, "/var/log/messages") or die "$!";
while (my $line = ) {
if ($line =~ /I
From: Juan B <[EMAIL PROTECTED]>
> use Mail::Mailer;
>
>
>
>my $mailer = Mail::Mailer->new("smtp",
> "10.83.27.71");
>$mailer->open( 'From' => 'Syslog
> <[EMAIL PROTECTED]>',
> 'To' => 'gabriela pinado
> <[EMAIL PROTECTED]>',
> 'Subject' => 'PiX Detecte
Hi,
I did it and know I get another error:
syntax error at logcheck line 25, near "'PiX Detected
Attack } ' )"
Missing right curly or square bracket at logcheck line
28, at end of line
Execution of logcheck aborted due to compilation
errors.
This is the code:
use strict;
use warnings;
use Mail:
On Oct 23, 9:57 am, [EMAIL PROTECTED] (Juan B) wrote:
> -Hi,
>
> Im trying to run this code: (im getting this error
> message):
>
> Can't use string ("From") as a HASH ref while "strict
> refs" in use at
> /usr/lib/perl5/site_perl/5.8.8/Mail/Mailer.pm line
> 320.
>
> The code:
>
> use strict;
> use