I got the error:
[Wed Feb 13 14:05:13 2002] [error] [20649]ERR: 24: Error in Perl
code: Global symbol "$val3" requires explicit package name at
/usr/local/www/meaimh/admin/calendar.html line 215.
Global symbol "$val3" requires explicit package name at
/usr/local/www/meaimh/admin/calendar.html line 216.
The lines in question were from the following:
[-
# forece a reload, or we won't get anything we just added
*set = $Norwood::Cal->setupDB();
*set =
$Norwood::Cal->searchCalendarRange('eventname,id,startdate',
{Direction => 'DESC'});
-]
<table border=0>
<tr>
<td>[+ $set[$row]->{eventname} +]</td><td>[+
$set[$row]->{startdate} +]</td>
<td><a href="?id=[+ $set[$row]->{id} +]&Edit=Edit">Edit</a>
<a href="?id=[+ $set[$row]->{id} +]&Delete=Delete">Delete</a>
</td>
</tr>
</table>
The two references to $set[$row]->{id} were triggering the error
(lines 215 and 216). Changing the code to use an explicit variable
rather than $row made the problem go away.
Unfortunately I'm in a big rush right now, or I'd spend more time
debugging--but hopefully this is helpful
--
Kee Hinckley - Somewhere.Com, LLC
http://consulting.somewhere.com/
[EMAIL PROTECTED]
I'm not sure which upsets me more: that people are so unwilling to accept
responsibility for their own actions, or that they are so eager to regulate
everyone else's.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]