HCT::File - Set of functions for work files and directories.
This package containts various subroutines to provide work with files and directories.
The PATH is a list of pathes that should be processed:
scan_path ($path);
As the result will be returned a hash-array, where keys - directories, and values - list of files from this directories.
$res = scan_path ($path);
Portable method to test if path is a temporary file or directory. Returns true or false.
Portable method to test if path is a system file or directory. Returns true or false.
Portable method to test if path is a file. The reason: -f
doesn't work in ActiveState Perl on Windows. Returns true or false.
Portable method to test if path is a directory. The reason: -d
doesn't work in ActiveState Perl on Windows. Returns true or false.
Returns the file name portion of a path by using File::Basename
subroutines.
Returns the dir name portion of a path by using File::Basename
subroutines.
Returns the file extension portion of a path by using File::Basename
subroutines.
This document is part of HCT, the Hardware Complexity Tool.
Generated: Fri Jul 17 10:38:47 2009