in reply to Problem with Perl Modules.
Declaring that you are going to export a variable isn't the same as declaring a variable. Under use strict; you get an error when a global variable is used without being first declared. You can declare the variables with our (i.e. something like our $TestCase;) or use vars (i.e. something like use vars qw( $TestCase );)
-sauoq "My two cents aren't worth a dime.";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Problem with Perl Modules.
by nisha (Sexton) on Oct 26, 2005 at 08:32 UTC | |
by sauoq (Abbot) on Oct 26, 2005 at 16:22 UTC |