Skip to content

Instantly share code, notes, and snippets.

@trapd00r
Created July 6, 2022 06:03
Show Gist options
  • Save trapd00r/e4d9f2d4dd87d98bb56f10c6d036ebf3 to your computer and use it in GitHub Desktop.
Save trapd00r/e4d9f2d4dd87d98bb56f10c6d036ebf3 to your computer and use it in GitHub Desktop.
Time::Local
# local dev machine, Archlinux, all good
$ perl -MTime::Local=timelocal_posix -E ''
$ perl -v
This is perl 5, version 36, subversion 0 (v5.36.0) built for x86_64-linux-thread-multi
# Debian 11, server
$ perl -MTime::Local=timelocal_posix -E ''
"timelocal_posix" is not exported by the Time::Local module
Can't continue after import errors at -e line 0.
BEGIN failed--compilation aborted.
$ perl -v
This is perl 5, version 32, subversion 1 (v5.32.1) built for x86_64-linux-gnu-thread-multi
(with 47 registered patches, see perl -V for more detail)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment