Upgrade to Text::Balanced 2.0.0
[p5sagit/p5-mst-13.2.git] / lib / Text / Balanced / t / extqlk.t
index e823e34..97dc517 100644 (file)
@@ -21,9 +21,9 @@ $loaded = 1;
 print "ok 1\n";
 $count=2;
 use vars qw( $DEBUG );
-# $DEBUG=1;
-sub debug { print "\t>>>",@_ if $DEBUG }
-sub esc   { my $x = shift; $x =~ s/\n/\\n/gs; $x }
+#$DEBUG=1;
+sub debug { print "\t>>>",@_ if $ENV{DEBUG} }
+sub esc   { my $x = shift||'<undef>'; $x =~ s/\n/\\n/gs; $x }
 
 ######################### End of black magic.