Auth-GoogleAuthenticator
view release on metacpan or search on metacpan
xt/copyright.t view on Meta::CPAN
282930313233343536373839404142434445464748}
sub
collect {
my
(
$file
) =
@_
;
note
$file
;
my
$modified_ts
;
if
(
$is_checkout
) {
# diag `git log -1 --pretty="format:%ct" "$file"`;
$modified_ts
= `git
log
-1 --pretty=
"format:%ct"
"$file"
`;
}
else
{
$modified_ts
= (
stat
(
$_
))[9];
}
my
$modified_year
;
if
(
$modified_ts
) {
$modified_year
= strftime(
'%Y'
,
localtime
(
$modified_ts
));
}
else
{
$modified_year
= 1970;
};
open
my
$fh
,
'<'
,
$file
( run in 0.315 second using v1.01-cache-2.11-cpan-5f2e87ce722 )