comparison Lib/IMPL/Resources/Strings.pm @ 267:bbc0da7ef90e

*IMPL::Web::View refactoring
author cin
date Thu, 17 Jan 2013 02:39:44 +0400
parents 7c517134c42f
children 6dc1c369eb71
comparison
equal deleted inserted replaced
266:89179bb8c388 267:bbc0da7ef90e
120 package Foo; 120 package Foo;
121 121
122 use IMPL::Resources::Strings { 122 use IMPL::Resources::Strings {
123 msg_say_hello => "Hello, %name%!", 123 msg_say_hello => "Hello, %name%!",
124 msg_module_name => "Simple Foo class" 124 msg_module_name => "Simple Foo class"
125 }, auto => 1, locale => 'en-US'; 125 };
126 126
127 sub InviteUser { 127 sub InviteUser {
128 my ($this,$uname) = @_; 128 my ($this,$uname) = @_;
129 129
130 print msg_say_hello(name => $uname); 130 print msg_say_hello(name => $uname);