|
|
| We don't bite newbies here... much | |
| PerlMonks |
Re^2: Dynamically Changing Packages w/out Evalby Ovid (Cardinal) |
| on Jun 15, 2009 at 06:34 UTC ( #771557=note: 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 Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||