-# Time-stamp: "2001-05-25 07:50:08 MDT"
+# Time-stamp: "2001-06-21 23:12:39 MDT"
=head1 NAME
=over
-=item *
+=item *
$lh = YourProjClass->get_handle( ...langtags... ) || die "lg-handle?";
YourProjClass->fallback_language_classes(). Then in the (probably
quite unlikely) event that that fails, we just return undef.
-=item *
+=item *
$lh = YourProjClass->get_handleB<()> || die "lg-handle?";
return $lh;
}
-=item $lh = YourProjClass::langname->new();
+=item *
+
+$lh = YourProjClass::langname->new();
This constructs a language handle. You usually B<don't> call this
directly, but instead let C<get_handle> find a language class to C<use>
and to then call ->new on.
-=item $lh->init();
+=item *
+
+$lh->init();
This is called by ->new to initialize newly-constructed language handles.
If you define an init method in your class, remember that it's usually
beginning), so that all classes get a chance to initialize a new object
however they see fit.
-=item YourProjClass->fallback_languages()
+=item *
+
+YourProjClass->fallback_languages()
C<get_handle> appends the return value of this to the end of
whatever list of languages you pass C<get_handle>. Unless
handle (assuming your language classes are in an appropriate
@INC directory). Or you can use the next method:
-=item YourProjClass->fallback_language_classes()
+=item *
+
+YourProjClass->fallback_language_classes()
C<get_handle> appends the return value of this to the end
of the list of classes it will try using. Unless
=item *
+If the first item in a bracket group is "*", it's taken as shorthand
+for the so commonly called "quant" method. Similarly, if the first
+item in a bracket group is "#", it's taken to be shorthand for
+"numf".
+
+=item *
+
If the first item in a bracket group is empty-string, or "_*"
or "_I<digits>" or "_-I<digits>", then that group is interpreted
as just the interpolation of all its items:
my $lh = ThisProject::I18N->get_handle();
# For the moment, assume that things are set up so
# that we load class ThisProject::I18N::en
- # and that that's the class that $lh belongs to.
+ # and that's the class that $lh belongs to.
...
if(-e $filename) {
go_process_file($filename)