home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam    

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:

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