* Joshua Hoblitt ([EMAIL PROTECTED]) [30 May 2003 10:20]: > I just realized that won't allow you specify a top level namespace. > Probably not an issue for most people. hmmm...
More of an issue is that it doesn't complain when one tries. It just
silently uses DT::L.
> > + my $real_class;
> > +
> > + if ( $lang =~ /::/ ) {
> > + $real_class = $lang;
> > + } else {
> > + $real_class = "DateTime::Language::$real_lang";
> > + }
> > +
> > eval "use $real_class";
> > die $@ if $@;
cheers,
--
Iain.
