File::Dir::Dumper::Stream::JSON::Reader - reader for stream of JSON objects.
use File::Dir::Dumper::Stream::JSON::Reader;
my $reader = File::Dir::Dumper::Stream::JSON::Reader->new(
{
input => \*FILEHANDLE,
}
);
while (defined(my $token = $reader->fetch())
{
# Do something with $token.
}
Initializes a new object that reads from the filehandle
$in_filehandle.
Fetches the next object. Returns undef upon end of file.
Shlomi Fish, "<shlomif@cpan.org>"
Please report any bugs or feature requests to
"bug-file-dir-dumper at rt.cpan.org", or
through the web interface at
<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=File-Dir-Dumper>. I will
be notified, and then you'll automatically be notified of progress on your bug
as I make changes.
You can find documentation for this module with the perldoc command.
perldoc File::Dir::Dumper
You can also look for information at:
- RT: CPAN's request tracker
<http://rt.cpan.org/NoAuth/Bugs.html?Dist=File-Dir-Dumper>
- AnnoCPAN: Annotated CPAN documentation
<http://annocpan.org/dist/File-Dir-Dumper>
- CPAN Ratings
<http://cpanratings.perl.org/d/File-Dir-Dumper>
- Search CPAN
<http://search.cpan.org/dist/File-Dir-Dumper>
Copyright 2008 Shlomi Fish, all rights reserved.
This program is released under the following license: MIT/X11
Licence.