[Chapter 8] 8.68 File::Basename
Author: Ellen Siever, Stephen Spainhour & Nathan Patwardhan
Date: 1999-07-02T01:46:56Z

#

| Chapter 8 Standard Modules |

## 8.68 File::Basename

Parses a file's path, returning its three component pieces: the path to the file, the file's basename, and the file's extension. For example, for:

>     /usr/local/lib/perl5/SelectSaver.pm

the path is /usr/local/lib/perl5, the basename is SelectSaver, and the extension is .pm. File::Basename exports the following functions:

- basename
- dirname
- fileparse
- fileparse_set_fstype

8.67 fields |  | 8.69 File::CheckTree