Log-Report-Lexicon
view release on metacpan or search on metacpan
lib/Log/Report/Translator/POT.pm view on Meta::CPAN
# Work-around for missing LC_MESSAGES on old Perls and Windows
{ no warnings;
eval "&LC_MESSAGES";
*LC_MESSAGES = sub(){5} if $@;
}
sub new(@)
{ my $class = shift;
# Caller cannot wait until init()
$class->SUPER::new(callerfn => (caller)[1], @_);
}
sub init($)
{ my ($self, $args) = @_;
$self->SUPER::init($args);
my $lex = delete $args->{lexicons} || delete $args->{lexicon} ||
(ref $self eq __PACKAGE__ ? [] : _fn_to_lexdir $args->{callerfn});
error __x"You have to upgrade Log::Report::Lexicon to at least 1.00"
( run in 0.245 second using v1.01-cache-2.11-cpan-1e74a51a04c )