Andre_br has asked for the wisdom of the Perl Monks concerning the following question:
Iīm having a very strange error. After a few editions on a script, wich included commands I am quite familiar with, Perl started complaining about things that just donīt make any sense.
For example: (code / error)
Error: Unquoted string "descr" may clash with future reserved word at C:\Andre\EstanteVirtual\Site\cgi-bin\adicionar.cgi line 440. Bareword found where operator expected at C:\Andre\EstanteVirtual\Site\cgi-bin\adicionar.cgi line 441, near ")VALUES" Fri Feb 25 21:04:04 2005 adicionar.cgi: (Missing operator before VALUES?)my $query3 = "insert into details (rec_id,descr,cover) VALUES ('$db_rec_id','$descr','$namecover');";
Another one:
Error: Scalar found where operator expected at C:\Andre\EstanteVirtual\Site\cgi-bin\adicionar.cgi line 490, at end of line Fri Feb 25 21:04:04 2005 adicionar.cgi: (Might be a runaway multi-line "" string starting on line 477)print $q->redirect( -url => "$dominio/cgi-bin/estante.cgi?aba=3");
The script generates two pages of these psycho complaints. All the suggestions that Perl gives donīt make sense. Any of you has run with this oddity already?
Im totally stuck with this.
Thanks a lot!
André
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: ODD: Perl started complaining about just everything
by jZed (Prior) on Feb 26, 2005 at 00:29 UTC | |
|
Re: ODD: Perl started complaining about just everything
by kvale (Monsignor) on Feb 26, 2005 at 00:34 UTC | |
|
Re: ODD: Perl started complaining about just everything
by betterworld (Curate) on Feb 26, 2005 at 01:19 UTC | |
|
Re: ODD: Perl started complaining about just everything
by chas (Priest) on Feb 26, 2005 at 03:28 UTC | |
|
Re: ODD: Perl started complaining about just everything
by fizbin (Chaplain) on Feb 26, 2005 at 11:54 UTC | |
|
Re: ODD: Perl started complaining about just everything
by graff (Chancellor) on Feb 26, 2005 at 22:13 UTC | |
|
Re: ODD: Perl started complaining about just everything
by trammell (Priest) on Feb 26, 2005 at 15:10 UTC |