-
From: "Jim Gibson"
To: "Perl List"
Sent: Monday, April 19, 2010 4:14 PM
Subject: Re: Strange Error
On 4/19/10 Mon Apr 19, 2010 11:07 AM, "Mike Blezien"
scribbled:
Hello,
I'm getting a strange error and for the life of me can't figure out what
ca
On 4/19/10 Mon Apr 19, 2010 11:07 AM, "Mike Blezien"
scribbled:
> Hello,
>
> I'm getting a strange error and for the life of me can't figure out what
> causing it. All that's in the error log is the following:
>
> [Mon Apr 19 13:01:37 2010] index.cg
Hello,
I'm getting a strange error and for the life of me can't figure out what
causing it. All that's in the error log is the following:
[Mon Apr 19 13:01:37 2010] index.cgi: Invalid offset: 1
Would anyone have any ideas what to look for that would cause this type of
error me
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
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 warnings;
use Mail::Mailer;
my @lines = ();
open (INFO, "/var/log/messages")
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
-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 warnings;
use Mail::Mailer;
my @lines = ();
open (INFO, "/var/log/messages"
On 25 Set, 12:37, [EMAIL PROTECTED] (Matthew Whipple) wrote:
> Some suggestions:
> rewrite ':standard'; as qw/:standard/;
> use warnings;
> check the web server error log for more verbose debugging information
>
> It would be a lot easier to diagnose if you know what file or director
On Sep 24, 9:17 pm, [EMAIL PROTECTED] (Caronte) wrote:
> Hi everybody. I'm learning Perl and CGI programming using MAMP as web-
> server on OSX and I can't use the standard CGI module. Look at this
> (very) simple script:
>
> #!/usr/local/bin/perl
First obvious question, is that the correct path?
Some suggestions:
rewrite ':standard'; as qw/:standard/;
use warnings;
check the web server error log for more verbose debugging information
It would be a lot easier to diagnose if you know what file or directory
isn't being found/accessed.
Caronte wrote:
Hi everybody. I'm
> 500 Server Error
> [Mon Sep 24 21:00:38 2007] [error] [client ::1] (2)No such file or
> directory: exec of '/Applications/MAMP/cgi-bin/backatcha-cgi' failed
> [Mon Sep 24 21:00:38 2007] [error] [client ::1] Premature end of
> script headers: backatcha-cgi
Why is there a hyphen not a dot?
backat
Hi everybody. I'm learning Perl and CGI programming using MAMP as web-
server on OSX and I can't use the standard CGI module. Look at this
(very) simple script:
#!/usr/local/bin/perl
use CGI ':standard';
print header();
print start_html();
for $i (param()) {
print "", $i, ": ", param($i), "
too few info u have given.
It seems that u have problem at the interface of cgi script to web server.
2005/9/28, Graeme McLaren <[EMAIL PROTECTED]>:
> Afternoon all, I have a strange error:
>
> [Tue Sep 27 14:43:41 2005] [error] PerlRun: `failed at stage 1: Input/output
> err
Afternoon all, I have a strange error:
[Tue Sep 27 14:43:41 2005] [error] PerlRun: `failed at stage 1: Input/output
error
at /usr/local/lib/perl5/5.8.0/CGI/Carp.pm line 301.
I have had a google around and I've not found anything.
Does anyone know what this means or what problem this
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Mike Blezien) writes:
>Gunnar Hjalmarsson wrote:
>> Mike Blezien wrote:
>>
>>> What does this type of error indicate, I never encountered this type
>>> of error before.
>>>
>>> Modification of a read-only value attempted at
>>> /home/www/cgi/som
Mike Blezien wrote:
Gunnar Hjalmarsson wrote:
Mike Blezien wrote:
foreach $sparam (param()) { ${$sparam} = param($sparam); } # line 151
-
Maybe it's that; hard to tell since you don't give more context. But
what you are trying to do, i.e. using symbolic refe
Gunnar Hjalmarsson wrote:
Mike Blezien wrote:
What does this type of error indicate, I never encountered this type
of error before.
-
Modification of a read-only value attempted at
/home/www/cgi/somescript.cgi line 151.
-
Mike Blezien wrote:
What does this type of error indicate, I never encountered this type of
error before.
-
Modification of a read-only value attempted at
/home/www/cgi/somescript.cgi line 151.
-
my($sparam);
Hello,
What does this type of error indicate, I never encountered this type of error
before.
-
Modification of a read-only value attempted at
/home/www/cgi/somescript.cgi line 151.
-
my($sparam);
foreach $spa
Then there is no problem :)
Thanx
__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EM
Dharmendra rai wrote:
>
> go to www.perldoc.com/perl5.8.0/pod/perl.html and read "perlre"
Why, when /usr/lib/perl5/5.6.0/pod/perlre.pod and
/usr/share/man/man1/perlre.1 are on my hard drive?
John
--
use Perl;
program
fulfillment
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional co
well perlregxp( perl regular experssion which i wrote
clearly) stands for 'perlre.
__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
--
To unsubscribe, e-mail: [EMAI
sorry
__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
go to www.perldoc.com/perl5.8.0/pod/perl.html and read "perlre"
__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For add
Dharmendra rai wrote:
>
> man perlregxp
$ man perlregxp
No manual entry for perlregxp
John
--
use Perl;
program
fulfillment
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On Fri, 6 Sep 2002, Dharmendra Rai wrote:
> man perlregxp
Have you tried this out?
I had mentioned to you a few days earlier to not remove relevant parts of
the post when replying. You continue in this fashion, people in this list
will not know what you are replying too and this can only le
man perlregxp
__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Dharmendra rai wrote:
>
> Hi
Hello,
> Read Perl regular expressions.
Thanks for the advice. Why do you feel that I need to read "Perl
regular expressions" and what is it and where can I find it?
John
--
use Perl;
program
fulfillment
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addit
Hi
Read Perl regular expressions.
Dharmender Rai
__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comm
: John W. Krahn [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 05, 2002 4:04 PM
To: [EMAIL PROTECTED]
Subject: Re: Strange error
Lance Prais wrote:
>
> I am experiencing the most bizarre problem with my perl script. I am
> running the below script on windows nt, that may be the ro
Lance Prais wrote:
>
> I am experiencing the most bizarre problem with my perl script. I am
> running the below script on windows nt, that may be the root of the
> problem.. The script reads a file and checks to see it the words "Sleeping
> for 10 seconds" appears. If it appears four times in a
All,
I am experiencing the most bizarre problem with my perl script. I am
running the below script on windows nt, that may be the root of the
problem.. The script reads a file and checks to see it the words "Sleeping
for 10 seconds" appears. If it appears four times in a row it sends a text
mes
> I am receiving a strange error on exiting a script: Attempt
> to free unreferenced scalar during global destruction. It
> only occurs after I make a DBI connection and run an SQL
> statement. I am undefing the statement handle and
> disconnecting the database handle. Doe
Monday, March 18, 2002, 7:21:51 PM, John W. Krahn wrote:
> perldoc perldiag
> [snip]
> Attempt to free unreferenced scalar
> (W internal) Perl went to decrement the reference
> count of a scalar to see if it would go to 0, and disĀ
> covered that it had already gone to 0 earlier, and
On Mon, 2002-03-18 at 14:41, Jonathan E. Paton wrote:
> > I grepped the source code for undef and
> > only got back these lines.
> >
> > app.pm: $sth = undef;
> > app.pm: $sth = undef;
> > app.pm: local($/) = undef;
> > app.pm: return undef;
> > app.pm: return undef;
>
> I grepped the source code for undef and
> only got back these lines.
>
> app.pm: $sth = undef;
> app.pm: $sth = undef;
> app.pm: local($/) = undef;
> app.pm: return undef;
> app.pm: return undef;
> app.pm: return undef;
> app.pm: $row =
> > I am undefing the statement handle and
> > disconnecting the database handle. Does anyone
> > have a clue what this might be?
>
> perldoc perldiag
> [snip]
> Attempt to free unreferenced scalar
> (W internal) Perl went to decrement the
> reference count of a scalar to see if it
>
On Mon, 2002-03-18 at 14:21, John W. Krahn wrote:
> Chas Owens wrote:
> >
> > I am receiving a strange error on exiting a script: Attempt to free
> > unreferenced scalar during global destruction. It only occurs after I
> > make a DBI connection and run an SQL st
Chas Owens wrote:
>
> I am receiving a strange error on exiting a script: Attempt to free
> unreferenced scalar during global destruction. It only occurs after I
> make a DBI connection and run an SQL statement. I am undefing the
> statement handle and disconnecting the databas
On Mon, 2002-03-18 at 13:05, Jonathan E. Paton wrote:
> > I am receiving a strange error on exiting a
> > script: Attempt to free unreferenced scalar
> > during global destruction. It only occurs after
> > I make a DBI connection and run an SQL statement.
> > I am
> I am receiving a strange error on exiting a
> script: Attempt to free unreferenced scalar
> during global destruction. It only occurs after
> I make a DBI connection and run an SQL statement.
> I am undefing the statement handle and
> disconnecting the database handle.
I am receiving a strange error on exiting a script: Attempt to free
unreferenced scalar during global destruction. It only occurs after I
make a DBI connection and run an SQL statement. I am undefing the
statement handle and disconnecting the database handle. Does anyone
have a clue what this
47 matches
Mail list logo