i have 4 packages: PackageA use IO::File; require My::Utils::Reader
PackageB use IO::File; use XML::Writer; My::Utils::Reader use My::Utils; My::Utils use Exporter; in my perl program, i dynamically load PackageA and PackageB like this: eval("require $package_name1"); eval("require $package_name2"); my question is why does PackageA have to "require My::Utils::Reader" instead of "use My::Utils::Reader"? PackageB dynamically loads fine and it "uses" other packages. in fact, every package i list here uses "use" instead of require. why is there an exception for PackageA and "require My::Utils::Reader"? thanks for the help. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>