[interchange-cvs] interchange - heins modified 2 files
interchange-cvs at icdevgroup.org
interchange-cvs at icdevgroup.org
Wed Apr 27 18:12:46 EDT 2005
User: heins
Date: 2005-04-27 22:12:46 GMT
Modified: lib/Vend Interpolate.pm Parse.pm
Log:
* Turn off warnings in strategic places so that we don't get inundated with
uninitialized variable warnings
Revision Changes Path
2.241 +6 -2 interchange/lib/Vend/Interpolate.pm
rev 2.241, prev_rev 2.240
Index: Interpolate.pm
===================================================================
RCS file: /var/cvs/interchange/lib/Vend/Interpolate.pm,v
retrieving revision 2.240
retrieving revision 2.241
diff -u -r2.240 -r2.241
--- Interpolate.pm 27 Apr 2005 20:18:45 -0000 2.240
+++ Interpolate.pm 27 Apr 2005 22:12:45 -0000 2.241
@@ -1,6 +1,6 @@
# Vend::Interpolate - Interpret Interchange tags
#
-# $Id: Interpolate.pm,v 2.240 2005/04/27 20:18:45 mheins Exp $
+# $Id: Interpolate.pm,v 2.241 2005/04/27 22:12:45 mheins Exp $
#
# Copyright (C) 2002-2005 Interchange Development Group
# Copyright (C) 1996-2002 Red Hat, Inc.
@@ -28,7 +28,7 @@
require Exporter;
@ISA = qw(Exporter);
-$VERSION = substr(q$Revision: 2.240 $, 10);
+$VERSION = substr(q$Revision: 2.241 $, 10);
@EXPORT = qw (
@@ -4211,6 +4211,10 @@
# undef the $Row object, as it should only be set as needed by [PREFIX-calc]
undef $Row;
+
+ ## We can't control defined state of these hash members, so we will
+ ## kill warnings
+ no warnings;
for ( ; $i <= $end; $i++, $count++) {
$item = $hash->[$i];
2.30 +6 -2 interchange/lib/Vend/Parse.pm
rev 2.30, prev_rev 2.29
Index: Parse.pm
===================================================================
RCS file: /var/cvs/interchange/lib/Vend/Parse.pm,v
retrieving revision 2.29
retrieving revision 2.30
diff -u -r2.29 -r2.30
--- Parse.pm 11 Feb 2004 14:34:33 -0000 2.29
+++ Parse.pm 27 Apr 2005 22:12:45 -0000 2.30
@@ -1,6 +1,6 @@
# Vend::Parse - Parse Interchange tags
#
-# $Id: Parse.pm,v 2.29 2004/02/11 14:34:33 jon Exp $
+# $Id: Parse.pm,v 2.30 2005/04/27 22:12:45 mheins Exp $
#
# Copyright (C) 2002-2003 Interchange Development Group
# Copyright (C) 1996-2002 Red Hat, Inc.
@@ -36,7 +36,7 @@
@ISA = qw(Exporter Vend::Parser);
-$VERSION = substr(q$Revision: 2.29 $, 10);
+$VERSION = substr(q$Revision: 2.30 $, 10);
@EXPORT = ();
@EXPORT_OK = qw(find_matching_end);
@@ -772,6 +772,10 @@
#::logDebug("output attr=$attr->{_output}");
$self->destination($attr->{_output}) if $attr->{_output};
+
+ ## We can't control whether tags will return undef or not,
+ ## so we turn off warnings
+ no warnings;
if($hasEndTag{$tag}) {
# Handle embedded tags, but only if interpolate is
More information about the interchange-cvs
mailing list