Tricky localization/scope question

David Cantrell david at
Thu Jul 30 14:00:44 BST 2009

On Tue, Jul 28, 2009 at 02:20:40AM -0700, Randy J. Ray wrote:
> Struan Donald wrote:
> > * at 27/07 17:01 -0700 Randy J. Ray said:
> >> So, let's assume there's a module called "Test::Without"[1] 
> > I'm not sure if you've seen it but there is a Test::Without::Module
> > already on the CPAN that does the file part of what you want.
> Alas, it lacks lexical scoping. Moreover, how it does things is even hackier
> than what I have in mind :-). Still, room for one more. TIMTOWTDI, and all that...

There's also Devel::Hide.  That can also hide modules from child
processes which is useful for testing, eg, scripts that you distribute
with your code.

David Cantrell | Cake Smuggler Extraordinaire

Hail Caesar!  Those about to vi ^[ you!

More information about the mailing list