Hades
view release on metacpan or search on metacpan
lib/Hades/Myths/Object.pm view on Meta::CPAN
$steps = {
debug_step_1 => { en => 'About to run hades with %s.', },
debug_step_2 =>
{ en => 'Parsing the eval string of length %s into classes.', },
debug_step_3 =>
{ en => 'Parsed the eval string into %s number of classes.', },
debug_step_4 => {
en => 'Set the Module::Generate %s accessor with the value %s.'
},
debug_step_5 => { en => 'Start building macros' },
debug_step_6 => { en => 'Build macro' },
debug_step_7 => { en => 'Attempt to import %s macro object.' },
debug_step_8 => { en => 'Successfully imported %s macro object.', },
debug_step_9 =>
{ en => 'Attempt to import %s macro from the hades file.' },
debug_step_10 =>
{ en => 'Successfully imported %s macro from the hades file.' },
debug_step_11 => { en => 'Successfully built macros.' },
debug_step_12 => { en => 'Building Module::Generate class %s.' },
debug_step_13 => { en => 'Parsing class token.' },
debug_step_14 => { en => 'Setting last inheritance token: %s.' },
debug_step_14_b => { en => 'The last token was: %s.' },
debug_step_15 =>
{ en => 'Call Module::Generate\'s %s method with the value %s.' },
debug_step_16 =>
{ en => 'Build a accessor named %s with no arguments.' },
debug_step_17 => { en => 'Build the classes %s.' },
debug_step_18 => { en => 'Build a sub named %s with no arguments.' },
debug_step_19 =>
{ en => 'Declare the classes global our variables', },
debug_step_20 => {
en => 'Found a group of attributes or subs so will iterrate each.'
},
debug_step_21 =>
{ en => 'Building attributes for a sub or accessor named %s.' },
debug_step_22 => { en => 'Built attributes for %s.' },
debug_step_23 => { en => 'Constructing accessor named %s.' },
debug_step_24 => { en => 'Built private code for %s.' },
debug_step_25 => { en => 'Built coerce code for %s.' },
debug_step_26 => { en => 'Built type code for %s.' },
debug_step_27 => { en => 'Built trigger for %s.' },
debug_step_28 => { en => 'Constructed accessor named %s.' },
debug_step_29 => { en => 'Construct a modify sub routine named %s.' },
debug_step_30 =>
{ en => 'Constructed a modify sub routine named %s.' },
debug_step_31 => { en => 'Construct a sub routine named %s.' },
debug_step_32 => { en => 'Constructed a sub routine named %s.' },
debug_step_33 =>
{ en => 'Construct the new sub routine for class %s.' },
debug_step_34 =>
{ en => 'Constructed the new sub routine for class %s.' },
debug_step_35 => { en => 'Finished Compiling the class.' },
debug_step_36 => { en => 'Finished Compiling all classes.' },
debug_step_37 => {
en =>
'Calling Module::Generates generate method which will write the files to disk.'
},
debug_step_38 => { en => 'Constructing code for %s.', },
debug_step_39 => { en => 'Build macro for: %s.' },
debug_step_40 => { en => 'Matched macro %s that has parameters.' },
debug_step_41 => { en => 'Macro %s has a code callback.' },
debug_step_42 => { en => 'Generated code for macro %s.' },
debug_step_43 => { en => 'Match macro %s that has no parameters.' },
debug_step_44 => { en => 'Constructed code for %s.', },
debug_step_45 => { en => 'Constructing predicate named has_%s.' },
debug_step_46 => { en => 'Constructed predicate named has_%s.' },
debug_step_47 => { en => 'Constructing clearer named clearer_%s.' },
debug_step_48 => { en => 'Constructed clearer named clearer_%s.' },
press_enter_to_continue => { en => 'Press enter to continue' },
};
return $steps;
}
sub DESTROY {
my ($self) = @_;
}
sub AUTOLOAD {
my ($self) = @_;
my ( $cls, $vn ) = ( ref $_[0], q{[^:'[:cntrl:]]{0,1024}} );
our $AUTOLOAD =~ /^${cls}::($vn)$/;
return $self->string($1) if $1;
}
1;
__END__
=head1 NAME
Hades::Myths::Object - display text locally.
=head1 VERSION
Version 0.27
=cut
=head1 SYNOPSIS
Quick summary of what the module does:
use Hades::Myths::Object;
my $locales = Hades::Myths::Object->new({
locale => 'ja_JP',
locales => {
stranger => {
en_GB => 'Hello stranger',
en_US => 'Howdy stranger',
ja_JP => 'ããã«ã¡ã¯è¦ç¥ãã¬äºº'
},
}
});
say $locales->stranger;
( run in 0.770 second using v1.01-cache-2.11-cpan-5a3173703d6 )