Полезная информация

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: dirnameChapter 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: dirnamePerl in a NutshellNext: Reference: fileparse_set_fstype
Reference: dirnameBook IndexReference: fileparse_set_fstype