|
|
| |
Goo::FileUtilities(3) |
User Contributed Perl Documentation |
Goo::FileUtilities(3) |
Goo::FileUtilities - General file handling utilities
- get_mtime
- get file modification time
- get_file_hash
- return a hash of files and their contents
- get_short_file_list
- return a list of filenames in a directory
- get_file_list
- return a list of file based on a directory glob
- get_file_as_string_ref
- return a string_ref to the contents of a file
- get_file_as_string
- return the file contents as a string
- write_file
- write a file
- get_file_as_lines
- return the file contents as an array of lines
- write_lines_as_file
- write an array of lines to a file
- get_suffix
- return the suffix of this filename
- get_path
- return the path portion of the filename
- slurp
- Perl6 synonym for get_file_as_string
- get_cwd
- return the current working directory
- get_last_lines
- return the last n lines from a file
Nigel Hamilton <nigel@trexy.com>
Visit the GSP FreeBSD Man Page Interface. Output converted with ManDoc. |