File::Spec->catdir(dir
[,dir
...] )
Concatenates two or more directory names to form a complete path. Ends with a directory name and appends a trailing
:
if there isn't one. You can get a relative path by either beginning the first argument with
:
or putting
""
as the first argument.
Copyright © 2001 O'Reilly & Associates. All rights reserved.