Make::Cache::HashMake::Cache::Hash package contains dependency file functions and hashing. | |
Download |
Make::Cache::Hash Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Wilson Snyder
- Publisher web site:
- http://search.cpan.org/~wsnyder/Verilog-Perl-3.035/Parser/Parser.pm
Make::Cache::Hash Tags
Make::Cache::Hash Description
Make::Cache::Hash package contains dependency file functions and hashing. Make::Cache::Hash package contains dependency file functions and hashing.SYNOPSISMake::Cache::Hash::clear_cache();hash{tgt}{dep} = Make::Cache::Hash::dfile_read(filename=>fn);my $digest = Make::Cache::Hash::hash(filenames=>[], text=>[]);Make::Cache::Hash contains functions for reading and writing make.d files, and for doing MD5 hashes on files.FUNCTIONSdfile_read (filename=>in)Read the specified filename. Return a hash reference, where the keys of the hash are the target (generated output) files, and the values are a hash of the dependent (required input) files. The filename itself is considered a output dependency.hashReturn a MD5 hash on the specified list of filenames, and specified list of text. With the ignore_rcs parameter, which defaults as on, ignore any RCS/CVS/Perforce meta tags in the source.clear_hashClear the internal cache used to accelerate the hash() function. Must be called anytime a file that has been hashed has changed.newestReturn the mod time of the newest filename in the list of filenames passed. If any does not exist, return undef. Requirements: · Perl
Make::Cache::Hash Related Software