Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Goo::FileUtilities(3) User Contributed Perl DocumentationGoo::FileUtilities(3)

NAME
       Goo::FileUtilities - General file handling utilities

SYNOPSIS
       use Goo::FileUtilities;

DESCRIPTION
       File utility functions.

METHODS
       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

AUTHOR
       Nigel Hamilton <nigel@trexy.com>

SEE ALSO
perl v5.24.1			  2005-12-03		 Goo::FileUtilities(3)

NAME | SYNOPSIS | DESCRIPTION | METHODS | AUTHOR | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Goo::FileUtilities&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help