|Don't ask to ask, just ask|
Comparing modification times like makeby tomazos (Deacon)
|on Oct 27, 2008 at 12:42 UTC ( #719727=perlquestion: print w/replies, xml )||Need Help??|
tomazos has asked for the wisdom of the Perl Monks concerning the following question:
Suppose there is a function that generates one file based on another:
and now we only want to execute the function if $source_filename has been modified more recently than $output_filename...
I would like recommendations on the most robust and portable way to implement compare_modification_times. Any ideas?
Thanks for your time.
Andrew Tomazos | firstname.lastname@example.org | www.tomazos.com
Back to Seekers of Perl Wisdom