start page | rating of books | rating of authors | reviews | copyrights

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: dirname Chapter 8
Standard Modules
Next: Reference: fileparse_set_fstype
 

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.