in reply to Re: use package
in thread use package

That doesn't work. The "magic" form of require where you give a package name instead of a path doesn't work with variables. Either do this:

eval "require $module"; die $@ if $@;

Or this:

$module = "Win32/DriveInfo.pm"; require $module;

-sam