What did you get when you ran it? I received an error message that points out very well where I (well, the code) has an error in it.
Unmatched [ in regex; marked by <-- HERE in m/^[a-z]:\\(?:[ <-- HERE ^\\/ at foo.pl line 3.You need to escape the 'end of regexp' marker to move beyond this.
--MidLifeXis
In reply to Re^5: How to validate windows path
by MidLifeXis
in thread How to validate windows path
by roteme
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |