in reply to Re: sourcing
in thread sourcing

We just ran into a snag with this though. It doesn't work right (or at least we haven't been able to make it work right) with the use of strict. Any ideas on that?

Update
The way we fixed it was by explicitly making the sourced file a package:

{ package PACKAGE_NAME;do "sourced_file.pl" };

and then we had to explicitly call each symbol by its package name in order to reference the data "inside" the symbol.

print $PACKAGE_NAME::variable,"\n";

Any other way we tried wouldn't work right *shrug*.

_ _ _ _ _ _ _ _ _ _
- Jim
Insert clever comment here...