Browse files

import XML::AutoWriter 0.34 from CPAN

git-cpan-module: XML::AutoWriter
git-cpan-version: 0.34
  • Loading branch information...
1 parent 75cb42f commit 4d5bd2ef054026266916798c469dcbe32829c4e2 @barries barries committed with Chris Prather Dec 15, 2000
Showing with 2 additions and 2 deletions.
  1. +1 −1 Makefile.PL
  2. +1 −1 lib/XML/ValidWriter.pm
View
2 Makefile.PL
@@ -3,7 +3,7 @@ use ExtUtils::MakeMaker;
use strict ;
use vars qw( $VERSION ) ;
-$VERSION = 0.33 ;
+$VERSION = 0.34 ;
my @programs = qw( ) ;
View
2 lib/XML/ValidWriter.pm
@@ -552,7 +552,7 @@ $escapees{"'"} = ''' ;
# Takes a list, returns a list: don't use in scalar context.
sub _esc {
croak "_esc used in scalar context" unless wantarray ;
- my $text ;
+ my $text = shift ;
if ( $text =~ /([\x00-\x08\x0B\x0C\x0E-\x1F])/ ) {
croak sprintf(
"Invalid character 0x%02d (^%s) sent",

0 comments on commit 4d5bd2e

Please sign in to comment.