Here we go!
my($username,$pw,$mdriveshare,%mdriveinfo,$err);
$mdriveshare = "really\\long\\dfs\\path";
%mdriveinfo =
(
'RemoteName' => $mdriveshare,
'LocalName' => "M:",
);
Hello Richard,
Please reply to the list... My suggestion didn't work, and knowing that
maybe someone else can go a step further. If you only reply to me others
might think my suggestion worked for you since they didn't see a reply from
you.
> Interesting thought, but I changed up the code and it
Hello Joseph,
> Everything else you said was spot on, Guay; but using { } creates an
> *anonymous* hash (a reference). So now you have a single element hash
> whose key is a hash ref and whose value is undef.
>
> Just use parentheses to make a hash, where keys alternate with their
> values ("=>"
Guay Jean-Sébastien wrote, on Wednesday, March 17, 2004 2:17 PM
: > my($share) = some\\share\\path;
: > my(%shareinfo) = { 'RemoteName' => $share };
:
: I believe your mistake is here. Do not use parentheses after my,
: except if
: you want to assign individual elements of a list to
Hello Richard,
> my($share) = some\\share\\path;
> my(%shareinfo) = { 'RemoteName' => $share };
I believe your mistake is here. Do not use parentheses after my, except if
you want to assign individual elements of a list to individual variables...
Using parentheses tells my to create a l