File::Spec

File::Spec

NAME

File::Spec - portably perform operations on file names

SYNOPSIS

use File::Spec;

$x=File::Spec->catfile('a', 'b', 'c');

which returns 'a/b/c' under Unix. Or:

use File::Spec::Functions;

$x = catfile('a', 'b', 'c');

DESCRIPTION

This module is designed to support operations commonly performed on file specifications (usually called "file names", but not to be confused with the contents of a file, or Perl's file handles), such as concatenating several directory and file n