NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Testing / Committing Ideas (Score:1)
1. File Timestamps: Have the Teardown method or a special final test put a timestamp in a file (say,
2. File Hash: Create a simple perl/shell script that accepts a single directory as an argument, and looks at all files below that directory matching a certain pattern ("*.pm", "*.pl","*.t", etc.), running a hash (for example,
They're both the same really, just one looks at the actual file's contents. The hash version seems more robust to me though, because you could, for example, filter each source file to remove all comments before calculating the hash, to test code only. Or run it through PPI and remove all POD
Reply to This