in reply to Re: extracting year of a file
in thread extracting year of a file

And since the POSIX module exports its functions by default, you can just say:
$ perl -MPOSIX -e'...'
(or just  use POSIX; in a longer perl script).