Bill Moseley <[EMAIL PROTECTED]> wrote:
> The code does this:
> 
>     my $mod  = __PACKAGE__.'::Lang::'.uc($self->{Lang});
>     eval "use $mod"; die $@ if $@;

> (plus the sanity check).

Which still considers 'de' valid (the same goes for 'dateparse').
I'll fix this shortly.

> I suppose I can do this by wrapping new() in an eval, but it might be
> handy to define a fallback language so if the passed in lang doesn't
> have a Lang module then will try and use the fallback.

I'm not sure this makes sense on my side, because how should one be 
sure that the internally assumed language matches the expectations
of a user?

I'd rather prefer to have the people who use this module to implement
a bit of additional logic.

Reply via email to