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:

/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:


Previous: 8.67 fields Perl in a Nutshell Next: 8.69 File::CheckTree
8.67 fields Book Index 8.69 File::CheckTree

Library Navigation Links

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