Alien-Xrepo

 view release on metacpan or  search on metacpan

eg/examples/Exotic-SDL3/inc/MyBuilder.pm  view on Meta::CPAN

                sub {
                    $stale = 1 if -f $_ && _mtime( path($File::Find::name) ) > $mtime;
                },
                $base->child('recipes')->stringify,
            );
        }
        return $stale;
    }

    sub _mtime ($path) {
        my @st = stat($path);
        return $st[9] // -1;
    }
    };
#
1;

lib/Alien/Xrepo/Build/Dist.pm  view on Meta::CPAN

                sub {
                    $stale = 1 if -f $_ && _mtime( path($File::Find::name) ) > $mtime;
                },
                $base->child('recipes')->stringify
            );
        }
        $stale;
    }

    sub _mtime ($path) {
        my @st = stat($path);
        return $st[9] // -1;
    }
};
#
1;
__END__
Copyright (C) Sanko Robinson.

This library is free software; you can redistribute it and/or modify it under the terms found in
the Artistic License 2. Other copyrights, terms, and conditions may apply to data transmitted



( run in 0.557 second using v1.01-cache-2.11-cpan-cb04b646d8c )