Try:
print "$file has -M timestamp of:", -M "$dir/$file", "\n"; [download]
In reply to Re: perfunc -M option problem by BrowserUk in thread perfunc -M option problem by midiperl