PerlDiscuss - Perl Newsgroups and mailing lists wrote: > This is what that gets me: > > Error Type: > PerlScript Error (0x80004005) > Global symbol "$Server" requires explicit package name
Screeeech!--Boom, crash!! Hold it, you had folks on a complete red herring here. Compiler errors are a much different problem than the complexities or lack of complexity in calling makefiles. When you get an error like this, it means you are not declaring your variables, and not thinking about what scope is appropriate for them. You need to work on some simple, command-line programs, getting familiar with Perl rules and syntax, before you can expect to handle more complicated tasks such as CGI operations. Always have use strict; use warnings; at the top of your scripts. When you don't understand the messages you get, post the relevant code, with the oines cited by the error message, as well as lines on which any variable cited is modified. We will then try to help you understand what caused the error, and what steps you should take to correct it. The message you got indicated that you had not properly declared your variable. Any variable you use should be declared in the most narrow scope that allows necessary access. You should declare it as in my $var_name; Then the system know that the name is meant to be visible within the containing scope where you placed the declaration. Learn Perl, then apply it to real-world problems. Joseph -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>