![]() |
|
"be consistent" | |
PerlMonks |
Re: Error with GetDRIVE() when using a mapped driveby Loops (Curate) |
on Nov 03, 2014 at 15:19 UTC ( #1105915=note: print w/replies, xml ) | Need Help?? |
Welcome to the monastery!, For whatever reason GetDrive is failing on your Y: drive. This means $d is left uninitialized and causes errors when you try to dereference it in the following lines. Change that GetDrive line to this: It doesn't answer what the problem is with drive Y: on your machine.. (does it exist for sure?) but it explains what's happening in your script.
In Section
Seekers of Perl Wisdom
|
|