Test::ScriptAge(3)

✨ NAME ✨

Test::ScriptAge β€” routines relating to the age of Perl scripts πŸ’–

So basically this little page lives in the Debian Package Checker manual, and it's all about figuring out when stuff got modified. Slay.


πŸŽ€ SYNOPSIS πŸŽ€

okay bestie, here's the vibe:

my $executable_epoch = Test::ScriptAge::our_modification_epoch();
print encode_utf8('This script was last modified at ' . localtime($executable_epoch) . "\n");

my $perl_epoch = Test::ScriptAge::perl_modification_epoch();
print encode_utf8('Perl was last modified at ' . localtime($perl_epoch) . "\n");

Like, two calls, two epochs, two lil timestamps. It's giving timestamps ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

Routines to calculate modification times of Perl scripts. That's it, that's the whole job β€” no cap. 🫢


🌸 FUNCTIONS 🌸

  • perl_modification_epoch β€” calculates the time our Perl was last modified. ⏰ Lowkey just "when did Perl get touched, bestie".
  • our_modification_epoch β€” calculates the time our scripts, including all libraries, was last modified. So yeah, it's the whole squad of files, not just the one script. πŸ‘‘

πŸ’… AUTHOR πŸ’…

Originally written by Felix Lechner <felix.lechner@lease-up.com> for Lintian. Iconic of him fr fr. πŸ™ˆ


🌈 SEE ALSO 🌈


✨ cute lil sign-off: this is Lintian v2.139.0ubuntu2, dated 2026-10-08, and it's the Test::ScriptAge(3) page. Periodt. πŸ’–πŸŽ€πŸ¦‹
πŸ“¦ where this page comes from