Skip Menu |

This queue is for tickets about the Geo-Gpx CPAN distribution.

Report information
The Basics
Id: 68209
Status: new
Priority: 0/
Queue: Geo-Gpx

People
Owner: Nobody in particular
Requestors: jarle [...] bjorgeengen.net
Cc:
AdminCc:

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



Subject: XML::TokeParser argument mismatch ?
Date: Sun, 15 May 2011 17:14:33 +0200
To: bug-Geo-Gpx [...] rt.cpan.org
From: Jarle Bjørgeengen <jarle [...] bjorgeengen.net>
Hi, I've just installed Geo::Gpx with all necessary on Mac osx 10.6 (Macports perl) Seems like there is some mismatch between the arguments passed to from Geo::Gpx via XML::Descent to XML::TokeParser and what XML::TOkeParser expects ? I have the following code to test creation of a new Gpx object. #!/opt/local/bin/perl use Geo::Gpx; use Data::Dumper; my $infile = $ARGV[0]; my $fh; if ( $ARGV[0] ) { $fh = open IN, "$infile" or die "Cannot open $infile for read :$!"; } else { exit 1; } my $gpx = Geo::Gpx->new( input => $fh ); When i run it, I get this .. jb@rubeus-1247 Downloads $ ./gpxman.pl Dogs.gpx Failed to create XML::TokeParser at /opt/local/lib/perl5/site_perl/5.12.3/Geo/Gpx.pm line 265 jb@rubeus-1247 Downloads $ On line 265 is the creation of the XML::Descent object, which in turn create the XML::TokeParse object that fails. I'm uncertain of how to proceed with this. Any hints would be appreciated. -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Med vennlig hilsen .~. Jarle Bjørgeengen /V\ Mob: +47 9155 7978 // \\ http://www.uio.no/sok?person=jb /( )\ while(<>){if(s/^(.*\?)$/42 !/){print "$1 $_"}} ^`~'^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~