in reply to everyauction script error bidding errors
Where I'm pretty sure that what you meant was,if($#bids){ for (my $i = $#bids; $i > 1; $i = 1) { ... } }
But, many of us would prefer to write this as:if (@bids > 1){ for (my $i = 0; $i <= $#bids; $i++) { ... } }
You also wrote,if (@bids > 1){ for my $bid (@bids){ my ($alias, $email, $bid, $time, $add1, $add2, $add3) = readbid($b +id); } }
$time = sort ({ int $a <=> int $b } $time);
This will not do anything. $time is not a LIST. See perldoc -f sort;
By the way, you'll get better answers if you work harder on distilling your question to one essential issue. Hope all this helps, and welcome to the Monastery.
mkmcconn
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: everyauction script error bidding errors
by simonwilliams (Initiate) on Jun 21, 2005 at 22:54 UTC | |
by mkmcconn (Chaplain) on Jun 21, 2005 at 23:21 UTC |