The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
use strict;
use warnings;
use Test::More tests => 1;
BEGIN { use_ok('Regexp::Common::time') };

diag( "Testing Regexp::Common::time $Regexp::Common::time::VERSION, Perl $], $^X" );

# code taken from the module itself:
my $can_posix  = 0;
my $can_locale = 0;
eval
{
    $can_posix = 0;
    require POSIX;
    $can_posix = 1;
};
eval
{
    $can_locale = 0;
    require I18N::Langinfo;
    I18N::Langinfo->import(qw(langinfo));
    $can_locale = 1;
};
diag "POSIX: $can_posix";
diag "I18N:  $can_locale";