This is platform dependent. On M$, you can use
stat but not on Mac or *NIX. *NIX does not store the information at all (see the
stat(2) man pages). Details on implementation of the Perl function are in
perlport. Your best bet if you are not on M$ is using
utime to reset the modification time, as per
almut's comment.