Acme-CPANModules-FormattingDate
view release on metacpan or search on metacpan
lib/Acme/CPANModules/FormattingDate.pm view on Meta::CPAN
596061626364656667686970717273747576777879format
.
_
our
$LIST
= {
summary
=>
'List of various methods to format dates'
,
description
=>
$text
,
tags
=> [
'task'
],
entries
=> [
map
{ +{
module
=>
$_
} }
do
{
my
%seen
;
grep
{ !
$seen
{
$_
}++ }
(
$text
=~ /<pm:(\w+(?:::\w+)+)>/g)
}
],
};
1;
# ABSTRACT: List of various methods to format dates
__END__
t/00-compile.t view on Meta::CPAN
252627282930313233343536373839404142434445use
IO::Handle;
open
my
$stdin
,
'<'
, File::Spec->devnull or
die
"can't open devnull: $!"
;
my
@warnings
;
for
my
$lib
(
@module_files
)
{
# see L<perlfaq8/How can I capture STDERR from an external command?>
my
$stderr
= IO::Handle->new;
diag(
'Running: '
,
join
(
', '
,
map
{
my
$str
=
$_
;
$str
=~ s/
'/\\'
/g;
q{'}
.
$str
.
q{'}
}
$^X,
@switches
,
'-e'
,
"require q[$lib]"
))
if
$ENV
{PERL_COMPILE_TEST_DEBUG};
my
$pid
= open3(
$stdin
,
'>&STDERR'
,
$stderr
, $^X,
@switches
,
'-e'
,
"require q[$lib]"
);
binmode
$stderr
,
':crlf'
if
$^O eq
'MSWin32'
;
my
@_warnings
= <
$stderr
>;
waitpid
(
$pid
, 0);
is($?, 0,
"$lib loaded ok"
);
shift
@_warnings
if
@_warnings
and
$_warnings
[0] =~ /^Using .*\bblib/
( run in 0.243 second using v1.01-cache-2.11-cpan-3cd7ad12f66 )