SysTutorials

Linux Manual Pages › Section 3

testscriptage(3)

Test::ScriptAge — routines relating to the age of Perl scripts

Synopsis

 my $executable_epoch = Test::ScriptAge::our_modification_epoch();
 print 'This script was last modified at ' . localtime($executable_epoch) . "
";
 my $perl_epoch = Test::ScriptAge::perl_modification_epoch();
 print 'Perl was last modified at ' . localtime($perl_epoch) . "
";

Description

Routines to calculated modification times of Perl scripts.

Functions

perl_modification_epoch
Calculate the time our Perl was last modified.
our_modification_epoch
Calculate the time our scripts, including all libraries, was last modified.

Author

Originally written by Felix Lechner <felix.lechner [at] lease-up.com> for Lintian.

See Also

lintian(1)