in reply to Re^2: Exporting subs from package required in an eval
in thread Exporting subs from package required in an eval
You can't do that. As use strict; does not know that you'll be declaring these variables later on at runtime, it raises an error. Either declare those variables in your main program, or load your plugin at compile time in a BEGIN block. See use.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Exporting subs from package required in an eval
by Anonymous Monk on May 06, 2010 at 15:04 UTC |