Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^3: mkdir problem on windowsby graff (Chancellor) |
on Sep 19, 2005 at 18:07 UTC ( [id://493224]=note: print w/replies, xml ) | Need Help?? |
"should work", except that "c:\a\b\c\d" gets interpolated by perl as "c:" followed by ASCII "bell" ("\a"=0x07), backspace ("\b"=0x08), "ctl-\" ("\c\"=0x1c) and "d".
The File::Path module is the better solution, really, because it eliminates all the anxiety about backslashes and all the bizarre escaping needed to get them right, along with freeing you from OS-dependent peculiarities.
In Section
Seekers of Perl Wisdom
|
|