Re: Strange Error

2010-04-19 Thread Mike Blezien
- 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

Re: Strange Error

2010-04-19 Thread Jim Gibson
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

Strange Error

2010-04-19 Thread Mike Blezien
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

Re: problem runing code | strange Error

2007-10-24 Thread Matthew Whipple
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

Re: problem runing code | strange Error

2007-10-23 Thread Gunnar Hjalmarsson
[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

problem runing code | strange Error

2007-10-23 Thread [EMAIL PROTECTED]
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")

Re: problem runing code | strange Error

2007-10-23 Thread Jenda Krynicky
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

Re: problem runing code | strange Error

2007-10-23 Thread Juan B
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

Re: problem runing code | strange Error

2007-10-23 Thread Jenda Krynicky
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

Re: problem runing code | strange Error

2007-10-23 Thread Juan B
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:

Re: problem runing code | strange Error

2007-10-23 Thread Paul Lalli
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

problem runing code | strange Error

2007-10-23 Thread Juan B
-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"

Re: Strange error

2007-09-26 Thread Caronte
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

Re: Strange error

2007-09-26 Thread [EMAIL PROTECTED]
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?

Re: Strange error

2007-09-25 Thread Matthew Whipple
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

Re: Strange error

2007-09-25 Thread Ken Foskey
> 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

Strange error

2007-09-25 Thread Caronte
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), "

Re: Strange error: PerlRun

2005-09-28 Thread Jeff Peng
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

Strange error: PerlRun

2005-09-28 Thread Graeme McLaren
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

Re: Strange Error

2004-10-31 Thread Peter Scott
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

Re: Strange Error

2004-10-25 Thread Gunnar Hjalmarsson
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

Re: Strange Error

2004-10-25 Thread Mike Blezien
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. -

Re: Strange Error

2004-10-24 Thread Gunnar Hjalmarsson
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);

Strange Error

2004-10-24 Thread Mike Blezien
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

Re: Strange error

2002-09-06 Thread Dharmendra Rai
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

Re: Strange error

2002-09-06 Thread John W. Krahn
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

Re: Strange error

2002-09-06 Thread Dharmendra Rai
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

Re: Strange error

2002-09-06 Thread Dharmendra Rai
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]

Re: Strange error

2002-09-06 Thread Dharmendra Rai
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

Re: Strange error

2002-09-06 Thread John W. Krahn
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]

Re: Strange error

2002-09-06 Thread Sudarshan Raghavan
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

Re: Strange error

2002-09-06 Thread Dharmendra Rai
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]

Re: Strange error

2002-09-06 Thread John W. Krahn
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

RE: Strange error

2002-09-05 Thread Dharmendra Rai
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

RE: Strange error

2002-09-05 Thread Lance Prais
: 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

Re: Strange error

2002-09-05 Thread John W. Krahn
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

Strange error

2002-09-05 Thread Lance Prais
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

RE: strange error message on exiting script

2002-03-18 Thread David Gray
> 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

Re[2]: strange error message on exiting script

2002-03-18 Thread Daniel Gardner
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

Re: strange error message on exiting script

2002-03-18 Thread Chas Owens
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; >

Re: strange error message on exiting script

2002-03-18 Thread Jonathan E. Paton
> 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 =

Re: strange error message on exiting script

2002-03-18 Thread Jonathan E. Paton
> > 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 >

Re: strange error message on exiting script

2002-03-18 Thread Chas Owens
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

Re: strange error message on exiting script

2002-03-18 Thread John W. Krahn
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

Re: strange error message on exiting script

2002-03-18 Thread Chas Owens
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

Re: strange error message on exiting script

2002-03-18 Thread Jonathan E. Paton
> 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.

strange error message on exiting script

2002-03-18 Thread Chas Owens
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