Welcome to WebmasterWorld Guest from

Forum Moderators: coopster & jatar k & phranque

Message Too Old, No Replies

keep encountering Perl error



3:32 am on Mar 15, 2011 (gmt 0)

I am a bit of a novice with CGI scripting, and you seem like a helpful bunch...hopefully you can help me with this issue I am having with an upload form.

I wanted to add a form to a website so visitors can upload audio files; I'm pretty certain the HTML is good, and the server settings appear to be fine as well (as do the paths for the .cgi file, and the upload folder), but I keep getting various errors whenever I try to test the form. The last error I got was:

Global symbol "$email" requires explicit package name at upload.cgi line 45.

I don't see "$email" anywhere in the vicinity of line 45, which is where the "thank you" message HTML starts. Further down, "$email" is in the HTML (where it references the visitor's email for the "thank you" message), but even if I add "my" in front of it, I still get the same error. What might I be doing wrong to cause this error?

Many thanks in advance...

Software error:

Can't locate /home/deploy/webmasterworld/code_format-v6.lib in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl .) at decode-post-v6.lib line 27, <THREADDAT> line 3.

For help, please send mail to the webmaster (it@imninjas.com), giving this error message and the time and date of the error.