G'day White Raven,
Welcome to the Monastery.
What you're looking for sounds very similar to what File::Spec does.
That's a core module, so you should already have the source code on your system. Alternatively, you can find it all online: File::Spec (CPAN) has links to the source code as well as all the various File::Spec::<os> modules.
— Ken
In reply to Re: Easing cross-platform scripting
by kcott
in thread Easing cross-platform scripting
by White Raven
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |