Time::y2038::Everywhere - Use Time::y2038's gmtime and localtime everywhere.
use Time::y2038::Everywhere; # All uses of localtime() and gmtime() in the whole program # are now using Time::y2038's
Time::y2038::Everywhere replaces localtime() and gmtime() with its own functions everywhere. This ensures not just that your code is 2038 safe, but that any modules you use are, too.
May also override Time::Local::timelocal and Time::Local::timegm in the future.
Time::y2038
To install Time::y2038, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Time::y2038
CPAN shell
perl -MCPAN -e shell install Time::y2038
For more information on module installation, please visit the detailed CPAN module installation guide.