comparison Lib/IMPL/Resources/Strings.pm @ 211:2b9b55cfb79b

Completed IMPL::Web::AutoLocator, added tests
author cin
date Tue, 05 Jun 2012 07:45:21 +0400
parents d1676be8afcc
children 7c517134c42f
comparison
equal deleted inserted replaced
210:6adaeb86945d 211:2b9b55cfb79b
93 package Foo; 93 package Foo;
94 94
95 use IMPL::Resources::Strings { 95 use IMPL::Resources::Strings {
96 msg_say_hello => "Hello, %name!", 96 msg_say_hello => "Hello, %name!",
97 msg_module_name => "Simple Foo class" 97 msg_module_name => "Simple Foo class"
98 }, auto => 1, locale => 'en-us'; 98 }, auto => 1, locale => 'en-US';
99 99
100 sub InviteUser { 100 sub InviteUser {
101 my ($this,$uname) = @_; 101 my ($this,$uname) = @_;
102 102
103 print msg_say_hello(name => $uname); 103 print msg_say_hello(name => $uname);