good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Umm, what is it you think that the package statement does in this code? I know that. I'm not that much of a Perl newbie :) The exact problem I'm trying to solve is the same thing Test::Aggregate does: run arbitrary bits of code and ensure that we don't have namespace pollution. If one chunk of code defines a package variable or creates a subroutine in its namespace, I don't want that clashing with other chunks of code. Hence, the package declaration. Cheers, In reply to Re^2: Dynamically Changing Packages w/out Eval
by Ovid
|
|