Hello Alex,
Thanks for your reply. I tried what you said and I keep getting software errors. Here is my
sub generate_category_page:
[Snipped]
And here is the error I get when I run the perl debugger in Telnet:
Code:
syntax error at page.cgi line 204, near "| |"
[Thu Apr 13 02:28:26 2000] page.cgi: Global symbol "$subcategory_r" requires explicit package name at page.cgi line 206.
[Thu Apr 13 02:28:26 2000] page.cgi: Global symbol "%OUT" requires explicit package name at page.cgi line 206.
[Thu Apr 13 02:28:26 2000] page.cgi: Global symbol "$in" requires explicit package name at page.cgi line 206.
[Thu Apr 13 02:28:26 2000] page.cgi: Global symbol "$get_links" requires explicit package name at page.cgi line 207.
[Thu Apr 13 02:28:26 2000] page.cgi: Global symbol "%sb" requires explicit package name at page.cgi line 207.
[Thu Apr 13 02:28:26 2000] page.cgi: Global symbol "$category_r" requires explicit package name at page.cgi line 208.
[Thu Apr 13 02:28:26 2000] page.cgi: Global symbol "$links_r" requires explicit package name at page.cgi line 209.
[Thu Apr 13 02:28:26 2000] page.cgi: Global symbol "$get_alt" requires explicit package name at page.cgi line 212.
[Thu Apr 13 02:28:26 2000] page.cgi: Global symbol "$alt_r" requires explicit package name at page.cgi line 214.
[Thu Apr 13 02:28:26 2000] page.cgi: Global symbol "$numlinks" requires explicit package name at page.cgi line 218.
[Thu Apr 13 02:28:26 2000] page.cgi: Global symbol "$url" requires explicit package name at page.cgi line 220.
[Thu Apr 13 02:28:26 2000] page.cgi: Global symbol "$page_num" requires explicit package name at page.cgi line 220.
[Thu Apr 13 02:28:26 2000] page.cgi: Global symbol "$get_related" requires explicit package name at page.cgi line 235.
[Thu Apr 13 02:28:26 2000] page.cgi: Global symbol "$name" requires explicit package name at page.cgi line 238.
[Thu Apr 13 02:28:26 2000] page.cgi: Global symbol "$tmp" requires explicit package name at page.cgi line 260.
syntax error at page.cgi line 267, near "}"
Content-type: text/html
<H1>Software error:</H1>
<CODE>page.cgi has too many errors.
</CODE>
Any ideas?
------------------
James L. Murray
PaintballCity.com
The Yahoo of Paintball
www.paintballcity.com AIM: Paintball City
[This message has been edited by Alex (edited April 13, 2000).]