start page | rating of books | rating of authors | reviews | copyrights

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: canonpath Chapter 8
Standard Modules
Next: Reference: catfile
 

catdir


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.


Previous: Reference: canonpath Perl in a Nutshell Next: Reference: catfile
Reference: canonpath Book Index Reference: catfile

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.