in reply to Re: Update HomeDirectory Using Win32::Ole
in thread Update HomeDirectory Using Win32::Ole

HomeDirectory is proably a property, not a method, so
$User->HomeDirectory("\\server\homeshare");
should be
$User->{HomeDirectory} = "\\\\server\\homeshare";
Win32::OLE uses a lot of AUTOLOAD magic, so both might be exchangeable. Well, at least, I do think the accessor version of the property without parameters, is equivalent to just reading the property:
$home = $User->HomeDirectory();
vs.
$home = $User->{HomeDirectory};