In short, you need to declare your variables in your script.

my $OrderFile;
my $referer;

Instead of just "defining" your variable (example below)

$referer = "something"; # TAINTED DATA



On 1/12/06, Gerald Wheeler <[EMAIL PROTECTED]> wrote:
>
> Need a little help...  trying to this thing right..
> with all these errors one might assume it's simply - forgot to do
> something...
>
> any help in the solution to these errors is greatly appreciated
>
> "use strict;" is used..
> ****************************
> # perl -c theta.pl >
> Variable "$error" is not imported at theta.pl line 287.
> Variable "$error" is not imported at theta.pl line 291.
> Variable "$error" is not imported at theta.pl line 300.
> Global symbol "@referers" requires explicit package name at theta.pl
> line 17.
> Global symbol "$OrderFile" requires explicit package name at theta.pl
> line 25.
> Global symbol "$referer" requires explicit package name at theta.pl
> line 41.
> Global symbol "@referers" requires explicit package name at theta.pl
> line 41.
> Global symbol "$referer" requires explicit package name at theta.pl
> line 43.
> Global symbol "$check_referer" requires explicit package name at
> theta.pl line 45.
> Global symbol "$check_referer" requires explicit package name at
> theta.pl line 51.
> Global symbol "$check_referer" requires explicit package name at
> theta.pl line 53.
> Global symbol "@pairs" requires explicit package name at theta.pl line
> 60.
> Global symbol "$buffer" requires explicit package name at theta.pl line
> 63.
> Global symbol "@pairs" requires explicit package name at theta.pl line
> 64.
> Global symbol "$buffer" requires explicit package name at theta.pl line
> 64.
> Global symbol "$pair" requires explicit package name at theta.pl line
> 69.
> Global symbol "@pairs" requires explicit package name at theta.pl line
> 69.
> Global symbol "$name" requires explicit package name at theta.pl line
> 71.
> Global symbol "$value" requires explicit package name at theta.pl line
> 71.
> Global symbol "$pair" requires explicit package name at theta.pl line
> 71.
> Global symbol "$name" requires explicit package name at theta.pl line
> 73.
> Global symbol "$name" requires explicit package name at theta.pl line
> 74.
> Global symbol "$value" requires explicit package name at theta.pl line
> 76.
> Global symbol "$value" requires explicit package name at theta.pl line
> 77.
> Global symbol "$value" requires explicit package name at theta.pl line
> 83.
> Global symbol "$value" requires explicit package name at theta.pl line
> 84.
> Global symbol "$value" requires explicit package name at theta.pl line
> 85.
> Global symbol "$value" requires explicit package name at theta.pl line
> 89.
> Global symbol "%FORM" requires explicit package name at theta.pl line
> 94.
> Global symbol "$name" requires explicit package name at theta.pl line
> 94.
> Global symbol "$value" requires explicit package name at theta.pl line
> 94.
> Global symbol "%FORM" requires explicit package name at theta.pl line
> 95.
> Global symbol "$name" requires explicit package name at theta.pl line
> 95.
> Global symbol "%FORM" requires explicit package name at theta.pl line
> 95.
> Global symbol "$name" requires explicit package name at theta.pl line
> 95.
> Global symbol "$value" requires explicit package name at theta.pl line
> 95.
> Global symbol "$value" requires explicit package name at theta.pl line
> 96.
> Global symbol "%FORM" requires explicit package name at theta.pl line
> 97.
> Global symbol "$name" requires explicit package name at theta.pl line
> 97.
> Global symbol "$value" requires explicit package name at theta.pl line
> 97.
> Global symbol "$key" requires explicit package name at theta.pl line
> 175.
> Global symbol "%FORM" requires explicit package name at theta.pl line
> 175.
> Global symbol "$key" requires explicit package name at theta.pl line
> 178.
> Global symbol "$cidval" requires explicit package name at theta.pl line
> 181.
> Global symbol "%FORM" requires explicit package name at theta.pl line
> 181.
> Global symbol "$key" requires explicit package name at theta.pl line
> 181.
> Global symbol "$key" requires explicit package name at theta.pl line
> 183.
> Global symbol "$pinval" requires explicit package name at theta.pl line
> 186.
> Global symbol "%FORM" requires explicit package name at theta.pl line
> 186.
> Global symbol "$key" requires explicit package name at theta.pl line
> 186.
> Global symbol "$cidval" requires explicit package name at theta.pl line
> 194.
> Global symbol "@odate" requires explicit package name at theta.pl line
> 224.
> Global symbol "@odate" requires explicit package name at theta.pl line
> 225.
> Global symbol "@odate" requires explicit package name at theta.pl line
> 225.
> Global symbol "@odate" requires explicit package name at theta.pl line
> 226.
> Global symbol "@odate" requires explicit package name at theta.pl line
> 226.
> Global symbol "@odate" requires explicit package name at theta.pl line
> 227.
> Global symbol "@odate" requires explicit package name at theta.pl line
> 227.
> Global symbol "$cidval" requires explicit package name at theta.pl line
> 238.
> Global symbol "$pinval" requires explicit package name at theta.pl line
> 238.
> Global symbol "$cidval" requires explicit package name at theta.pl line
> 238.
> Global symbol "$pinval" requires explicit package name at theta.pl line
> 238.
> Global symbol "$error" requires explicit package name at theta.pl line
> 287.
> Global symbol "@error_fields" requires explicit package name at
> theta.pl line 287.
> Global symbol "$error" requires explicit package name at theta.pl line
> 291.
> Global symbol "$referer" requires explicit package name at theta.pl
> line 297.
> Global symbol "$error" requires explicit package name at theta.pl line
> 300.
> theta.pl had compilation errors.
>
> Thanks
>
> Jerry
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> <http://learn.perl.org/> <http://learn.perl.org/first-response>
>
>
>

Reply via email to