use File::Spec::Functions; $x = catfile('a','b');
For a reference of available functions, please consult File::Spec::Unix, which contains the entire set, and which is inherited by the modules for other platforms. For further information, please see File::Spec::Mac, File::Spec::OS2, File::Spec::Win32, or File::Spec::VMS.
canonpath catdir catfile curdir rootdir updir no_upwards file_name_is_absolute path
The following functions are exported only by request.
devnull tmpdir splitpath splitdir catpath abs2rel rel2abs case_tolerant
All the functions may be imported using the ":ALL" tag.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.