GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
MooX::Locale::Passthrough(3) User Contributed Perl Documentation MooX::Locale::Passthrough(3)

MooX::Locale::Passthrough - provide API used in translator modules without translating

  { package WonderBar;
    use Moo;
    with "MooX::Locale::Passthrough";

    sub tell_me { my $self = shift; $self->__("Hello world"); }
  }

  WonderBar->new->tell_me;

"MooX::Locale::Passthrough" is made to allow CPAN modules use translator API without adding heavy dependencies (external software) or requirements (operating resulting solution).

This software is released together with MooX::Locale::TextDomain::OO, which allowes then to plugin any desired translation.

returns MSGID

returns MSGID when count is equal 1, MSGID_PLURAL otherwise

returns MSGID

Jens Rehsack, "<rehsack at cpan.org>"

Please report any bugs or feature requests to "bug-MooX-Locale-Passthrough at rt.cpan.org", or through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=MooX-Locale-Passthrough>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

You can find documentation for this module with the perldoc command.

    perldoc MooX::Locale::Passthrough

You can also look for information at:

  • RT: CPAN's request tracker

    <http://rt.cpan.org/NoAuth/Bugs.html?Dist=MooX-Locale-Passthrough>

  • AnnoCPAN: Annotated CPAN documentation

    <http://annocpan.org/dist/MooX-Locale-Passthrough>

  • CPAN Ratings

    <http://cpanratings.perl.org/m/MooX-Locale-Passthrough>

  • Search CPAN

    <http://search.cpan.org/dist/MooX-Locale-Passthrough/>

Copyright 2017 Jens Rehsack.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.

2017-05-30 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.