Subject: | warning typo |
This is against 0.04:
diff --git a/lib/Template/Plugin/JSON.pm b/lib/Template/Plugin/JSON.pm
index dbe4612..6d63e32 100644
--- a/lib/Template/Plugin/JSON.pm
+++ b/lib/Template/Plugin/JSON.pm
@@ -33,7 +33,7 @@ sub BUILDARGS {
my ( $class, $c, $args ) = @_;
unless ( ref $args ) {
- warn "Single arguent form is deprecated, this module
always uses JSON/JSON::XS now";
+ warn "Single argument form is deprecated, this module
always uses JSON/JSON::XS now";
$args = {};
}
It's also annoying, that [% USE JSON %] issues this warning. Maybe it
should only be thrown if there is really a single argument (that is not
an empty list).
Thanks, Frank