Install libpath-class-file-stat-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libpath-class-file-stat-perl
cache of stat calls for a Path::Class::File object
Path::Class::File::Stat perl module is an extension of Path::Class::File. Path::Class::File::Stat is useful in long-running programs (as under mod_perl) where you might have a file handle opened and want to check if the underlying file has changed.