On Tue, May 04, 2004 at 11:13:38AM -0400, [EMAIL PROTECTED] wrote: > > Here's an example of a recurrent annoyance: > > my $package = 'Foo::Bar::Baz'; > (my $package_filename = $package) =~ s,::,/,g; > require $package_filename; > $package->foobar();
This doesn't answer the general question but don't let the eval police scare you away from my $package = 'Foo::Bar::Baz'; eval "require $package;1" or die $@; -- Rick Delaney [EMAIL PROTECTED]