Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Coding Errors

Status
Not open for further replies.

MagicChris

Programmer
May 30, 2001
28
GB
Hello,
I'm in the process of replacing a sub in a script i know works...well worked before i replaced the sub.

I know all subs called to use from this one work so that's not the problem.

Here is my error log report:

[Mon Mar 11 13:30:39 2002] [error] [client 62.252.160.4] Premature end of script headers: /home/zigwebd/public_html/temp/cgi-bin/auction.pl
Execution of /home/zigwebd/public_html/temp/cgi-bin/auction.pl aborted due to compilation errors.
Global symbol "$lowest_new_bid" requires explicit package name at /home/zigwebd/public_html/temp/cgi-bin/auction.pl line 717.
Global symbol "$lowest_new_bid" requires explicit package name at /home/zigwebd/public_html/temp/cgi-bin/auction.pl line 709.
Global symbol "$lowest_new_bid" requires explicit package name at /home/zigwebd/public_html/temp/cgi-bin/auction.pl line 690.
Global symbol "$lowest_new_bid" requires explicit package name at /home/zigwebd/public_html/temp/cgi-bin/auction.pl line 681.
Global symbol "$lowest_new_bid" requires explicit package name at /home/zigwebd/public_html/temp/cgi-bin/auction.pl line 677.


Here is a link to the whole auction script (134 kb),
Not sure why it won't work,
Thanks in advance,
Chris
 
Chris,

if you insert a new line number 495 containing

my $lowest_new_bid;

the script will compile without errors

will it do what you want it to? <wry smile> don't know.... Mike
&quot;Experience is the comb that Nature gives us after we are bald.&quot;

Is that a haiku?
I never could get the hang
of writing those things.
 
doh, thanks. :D

I actually found this error, but obviously i didn't save it. *silly me*

Many Thanks,
Chris
 
<grin> Mike
&quot;Experience is the comb that Nature gives us after we are bald.&quot;

Is that a haiku?
I never could get the hang
of writing those things.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top