![]() |
|
Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: error mapping drive ('\\')by tye (Sage) |
on Jan 11, 2007 at 21:42 UTC ( [id://594240]=note: print w/replies, xml ) | Need Help?? |
'\\PC116597\print' is the same as '\PC116597\print' or '\\PC116597\\print'. I suggest you use '\\\\PC116597\\print'. I think that relying on the fact that '\p' gets translated into the same thing as '\\p' is just the thing that leads to this type of mistake. Update: And including $strDrive and $strPath in your error message would have shown you the problem immediately, so you might want to reinforce that habit. - tye
In Section
Seekers of Perl Wisdom
|
|