in reply to Win32::LanMan

The module is names "Win32::Lanman". Notice the lowercase "m". Are you sure you have

use Win32::Lanman;
and not
use Win32::LanMan;
or something on top of your script? Perl is case sensitive. And if the filesystem is not the use statement seems to work even if you type an incorrectly cased name. Just the functions, constants and variables are not exported.

Also ... it's more efficient to write the constants without the &.

Jenda
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.
   -- Rick Osborne

Edit by castaway: Closed small tag in signature