This patches removes "our" in Template::Constants.
--
Tatsuhiko Miyagawa <[EMAIL PROTECTED]>
Index: lib/Template/Constants.pm
===================================================================
RCS file: /template-toolkit/Template2/lib/Template/Constants.pm,v
retrieving revision 2.56
diff -u -r2.56 Constants.pm
--- lib/Template/Constants.pm 2002/08/15 16:41:19 2.56
+++ lib/Template/Constants.pm 2002/08/16 07:37:12
@@ -78,7 +78,8 @@
use constant DEBUG_CALLER => 4096; # add caller file/line
use constant DEBUG_FLAGS => 4096; # bitmask to extraxt flags
-our $DEBUG_OPTIONS = {
+use vars qw($DEBUG_OPTIONS @STATUS @ERROR @CHOMP @DEBUG);
+$DEBUG_OPTIONS = {
&DEBUG_OFF => off => off => &DEBUG_OFF,
&DEBUG_ON => on => on => &DEBUG_ON,
&DEBUG_UNDEF => undef => undef => &DEBUG_UNDEF,
@@ -95,15 +96,15 @@
&DEBUG_CALLER => caller => caller => &DEBUG_CALLER,
};
-our @STATUS = qw( STATUS_OK STATUS_RETURN STATUS_STOP STATUS_DONE
- STATUS_DECLINED STATUS_ERROR );
-our @ERROR = qw( ERROR_FILE ERROR_VIEW ERROR_UNDEF ERROR_PERL
- ERROR_RETURN ERROR_FILTER ERROR_PLUGIN );
-our @CHOMP = qw( CHOMP_NONE CHOMP_ALL CHOMP_COLLAPSE );
-our @DEBUG = qw( DEBUG_OFF DEBUG_ON DEBUG_UNDEF DEBUG_VARS
- DEBUG_DIRS DEBUG_STASH DEBUG_CONTEXT DEBUG_PARSER
- DEBUG_PROVIDER DEBUG_PLUGINS DEBUG_FILTERS DEBUG_SERVICE
- DEBUG_ALL DEBUG_CALLER DEBUG_FLAGS );
+@STATUS = qw( STATUS_OK STATUS_RETURN STATUS_STOP STATUS_DONE
+ STATUS_DECLINED STATUS_ERROR );
+@ERROR = qw( ERROR_FILE ERROR_VIEW ERROR_UNDEF ERROR_PERL
+ ERROR_RETURN ERROR_FILTER ERROR_PLUGIN );
+@CHOMP = qw( CHOMP_NONE CHOMP_ALL CHOMP_COLLAPSE );
+@DEBUG = qw( DEBUG_OFF DEBUG_ON DEBUG_UNDEF DEBUG_VARS
+ DEBUG_DIRS DEBUG_STASH DEBUG_CONTEXT DEBUG_PARSER
+ DEBUG_PROVIDER DEBUG_PLUGINS DEBUG_FILTERS DEBUG_SERVICE
+ DEBUG_ALL DEBUG_CALLER DEBUG_FLAGS );
@EXPORT_OK = ( @STATUS, @ERROR, @CHOMP, @DEBUG );
%EXPORT_TAGS = (
@@ -273,4 +274,4 @@
=head1 SEE ALSO
-L<Template|Template>, L<Exporter|Exporter>
\ No newline at end of file
+L<Template|Template>, L<Exporter|Exporter>
_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://www.template-toolkit.org/mailman/listinfo/templates