CPAN-Checksums
view release on metacpan or search on metacpan
$CAUTION
Setting the global variable $CAUTION causes updatedir() to report
changes of files in the attributes "size", "mtime", "md5", or
"md5-ungz" to STDERR.
$TRY_SHORTNAME
By setting the global variable $TRY_SHORTNAME to a true value, you
can tell updatedir() to include an attribute "shortname" in the
resulting hash that is 8.3-compatible. Please note, that updatedir()
in this case may be slow and may even fail on large directories,
because it will always only try 1000 iterations to find a name that
is not yet taken and then give up.
$SIGNING_KEY
Setting the global variable $SIGNING_KEY makes the generated
"CHECKSUMS" file to be clear-signed by the command specified in
$SIGNING_PROGRAM (defaults to "gpg --clearsign --default-key "),
passing the signing key as an extra argument. The resulting
"CHECKSUMS" file should look like:
0&&<<''; # this PGP-signed message is also valid perl
lib/CPAN/Checksums.pm view on Meta::CPAN
Setting the global variable $CAUTION causes updatedir() to report
changes of files in the attributes C<size>, C<mtime>, C<md5>, or
C<md5-ungz> to STDERR.
=item $TRY_SHORTNAME
By setting the global variable $TRY_SHORTNAME to a true value, you can
tell updatedir() to include an attribute C<shortname> in the resulting
hash that is 8.3-compatible. Please note, that updatedir() in this
case may be slow and may even fail on large directories, because it
will always only try 1000 iterations to find a name that is not yet
taken and then give up.
=item $SIGNING_KEY
Setting the global variable $SIGNING_KEY makes the generated C<CHECKSUMS>
file to be clear-signed by the command specified in $SIGNING_PROGRAM
(defaults to C<gpg --clearsign --default-key >), passing the signing
key as an extra argument. The resulting C<CHECKSUMS> file should look like:
0&&<<''; # this PGP-signed message is also valid perl
( run in 2.238 seconds using v1.01-cache-2.11-cpan-96521ef73a4 )