|
|
| Perl-Sensitive Sunglasses | |
| PerlMonks |
Re: error mapping drive ('\\')by tye (Sage) |
| on Jan 11, 2007 at 16:42 UTC ( [id://594240]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
'\\PC11659Â7\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
|
|
||||||||||||||||||||||||||||||||