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


fileparse

fileparse (

fullname

[, 

suffixlist

])

Divides a file specification into its three parts, returning them in the order: filename, path, suffix.

($name, $path, $suffix) = fileparse($fullname, @suffixlist)
The arguments are the same as for basename .


Previous: Reference: dirname Perl in a Nutshell Next: Reference: fileparse_set_fstype
Reference: dirname Book Index Reference: fileparse_set_fstype

Library Navigation Links

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