I'd guess File::Spec would help with that.
-Paul
In reply to Re: How to validate a directory string? by jettero in thread How to validate a directory string? by rapide