in reply to Scope of variables using strict
To do what you're trying to do, either send $TestVar as an argument, or make it a package variable:
# control.cgi use vars '$TestVar'; $TestVar = 'test'; # or $main::TestVar = 'test';
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Scope of variables using strict
by dfog (Scribe) on Mar 23, 2001 at 00:05 UTC |