| 1 | # | ||
| 2 | # Copyright (c) 2008-2009 Pan Yu (xiaocong@vip.163.com). | ||
| 3 | # All rights reserved. | ||
| 4 | # This program is free software; you can redistribute it and/or | ||
| 5 | # modify it under the same terms as Perl itself. | ||
| 6 | # | ||
| 7 | |||
| 8 | package App::MultiLanguage; | ||
| 9 | |||
| 10 | 1 | ▶ | use 5.006; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 12 | 1 | ▶ | use vars qw($VERSION); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 13 | |||
| 14 | 1 | $VERSION = '0.02'; | |
| 15 | |||
| 16 | |||
| 17 | 0 | ▶ | sub language { |
|
Subroutine
language: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 18 | 0 | my $self = shift; | |
| 19 | 0 | my $language = shift; | |
| 20 | |||
| 21 | 0 | $self->{language} = $language; | |
| 22 | } | ||
| 23 | |||
| 24 | 0 | ▶ | sub parse { |
|
Subroutine
parse: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 25 | 0 | my $self = shift; | |
| 26 | |||
| 27 | 0 | return $self->{result}; | |
| 28 | } | ||
| 29 | |||
| 30 | |||
| 31 | 1 | 1; | |
| 32 | |||
| 33 | __END__ | ||