diff options
author | Fitz Elliott <fitz.elliott@gmail.com> | 2013-02-28 21:56:45 -0500 |
---|---|---|
committer | Fitz Elliott <fitz.elliott@gmail.com> | 2013-02-28 21:56:45 -0500 |
commit | 6be9a60040228e264a05c83c50c54eba789ae0c7 (patch) | |
tree | 5b472e64264e2890a603f2d8e7ec0271696f1171 /lib/Text | |
parent | fbc6914c5272465b54b45ce07340d345aa1850a7 (diff) | |
download | text-handlebars-6be9a60040228e264a05c83c50c54eba789ae0c7.tar.gz text-handlebars-6be9a60040228e264a05c83c50c54eba789ae0c7.zip |
switch from Any::Moose to Mouse
Text::Xslate has switched to Mouse, causing this module to stop
working when Moose was loaded before it.
Diffstat (limited to 'lib/Text')
-rw-r--r-- | lib/Text/Handlebars/Compiler.pm | 4 | ||||
-rw-r--r-- | lib/Text/Handlebars/Symbol.pm | 4 | ||||
-rw-r--r-- | lib/Text/Xslate/Syntax/Handlebars.pm | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/lib/Text/Handlebars/Compiler.pm b/lib/Text/Handlebars/Compiler.pm index e92e9ce..73285cc 100644 --- a/lib/Text/Handlebars/Compiler.pm +++ b/lib/Text/Handlebars/Compiler.pm @@ -1,5 +1,5 @@ package Text::Handlebars::Compiler; -use Any::Moose; +use Mouse; extends 'Text::Xslate::Compiler'; @@ -647,7 +647,7 @@ sub merge_single_hash { sub literal { shift->parser->literal(@_) } __PACKAGE__->meta->make_immutable; -no Any::Moose; +no Mouse; =for Pod::Coverage define_helper diff --git a/lib/Text/Handlebars/Symbol.pm b/lib/Text/Handlebars/Symbol.pm index 36fd3ba..cc81f7a 100644 --- a/lib/Text/Handlebars/Symbol.pm +++ b/lib/Text/Handlebars/Symbol.pm @@ -1,5 +1,5 @@ package Text::Handlebars::Symbol; -use Any::Moose; +use Mouse; extends 'Text::Xslate::Symbol'; @@ -14,6 +14,6 @@ has is_block_helper => ( ); __PACKAGE__->meta->make_immutable; -no Any::Moose; +no Mouse; 1; diff --git a/lib/Text/Xslate/Syntax/Handlebars.pm b/lib/Text/Xslate/Syntax/Handlebars.pm index 164c03f..526b0f9 100644 --- a/lib/Text/Xslate/Syntax/Handlebars.pm +++ b/lib/Text/Xslate/Syntax/Handlebars.pm @@ -1,5 +1,5 @@ package Text::Xslate::Syntax::Handlebars; -use Any::Moose; +use Mouse; use Carp 'confess'; use Text::Xslate::Util qw($DEBUG $NUMBER neat p); @@ -596,7 +596,7 @@ sub _field_to_string { } __PACKAGE__->meta->make_immutable; -no Any::Moose; +no Mouse; =for Pod::Coverage call |