This queue is for tickets about the Sphinx-Log-Parser CPAN distribution.

Report information
The Basics
Id:
68610
Status:
resolved
Priority:
Low/Low

People
Owner:
Nobody in particular
Requestors:
wjgeorge7 [...] yahoo.com
Cc:
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
(no value)
Fixed in:
(no value)



Subject: Need more code in example
Not exactly a bug, but please add the iterator to your example (for copy/pasta goodness): use Data::Dumper; use IO::Scalar; use Sphinx::Log::Parser; # 0.9.9 my $logstr = '[Fri Oct 1 03:18:46.342 2010] 0.014 sec [ext/2/rel 55 (0,700)] [topic;topicdelta;] [ios=0 kb=0.0 ioms=0.0] @title lucky'; my $io = new IO::Scalar \$logstr; my $parser = Sphinx::Log::Parser->new( $io ); while (my $res = $parser->next()) { print Dumper($res); }
Thanks for the patch. applied as https://github.com/fayland/perl-sphinx- log-parser/commit/bd06a977ed4ab7d7df54e6578ad0345bda515295 and will be released next time. Thanks


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.