Skip Menu |

This queue is for tickets about the XML-Twig CPAN distribution.

Report information
The Basics
Id: 11912
Status: resolved
Priority: 0/
Queue: XML-Twig

People
Owner: Nobody in particular
Requestors: at [...] altlinux.ru
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: 3.18



Subject: xml_split yet more borken (3.17)
$ perl -Mblib -c blib/script/xml_split Scalar found where operator expected at blib/script/xml_split line 209, near ") $elt" (Missing operator before $elt?) syntax error at blib/script/xml_split line 209, near ") $elt" BEGIN not safe after errors--compilation aborted at blib/script/xml_split line 266. $ Here is a cumulative patch. Please also cleanup trailing whitespaces. -- Alexey Tourbin ALT Linux Team
--- XML-Twig-3.17/tools/xml_split/xml_split- 2005-03-03 06:01:15 +0000 +++ XML-Twig-3.17/tools/xml_split/xml_split 2005-03-17 10:37:17 +0000 @@ -23,7 +23,7 @@ getopts('l:c:b:n:e:p:dvhmV', $opt); # defaults $opt->{n} ||= 2; # number of digits used for creating parts -$opt->{I} ||= ˝"$ENV{HOME}/.xml_split"; +$opt->{I} ||= "$ENV{HOME}/.xml_split"; if( $opt->{h}) { die $USAGE, "\n"; } if( $opt->{m}) { exec "pod2text $RealBin/$RealScript"; } @@ -204,7 +204,7 @@ sub dump_elt if( !$state->{no_pis}) { # if we are still witin a fragment, just replace the element by the PI # otherwise print it to the main document - my $include= $state->include( $file_name) + my $include= $state->include( $file_name); $elt->del_att( '#in_fragment');
Grr.... wrong version made it into the distribution. Sorry about that, I am adding tests for the tool, and a new version will be be released soon. Thanks __ mirod
Thanks, a new version of the module, including a tested and bug-fixed version of xml_split is at: http://www.xmltwig.com/xmltwig/XML-Twig-3.18.tar.gz Let me know if it works for you. Show quoted text
> Please also cleanup trailing whitespaces.
? what do you mean by that? __ mirod
[MIROD - Thu Mar 17 11:41:16 2005]: Show quoted text
> Thanks, a new version of the module, including a tested and bug-fixed > version of xml_split is at: > > http://www.xmltwig.com/xmltwig/XML-Twig-3.18.tar.gz > > Let me know if it works for you. >
> > Please also cleanup trailing whitespaces.
> > ? what do you mean by that?
As I did not hear from you I assume the bug is fixed and I am closing it. __ mirod