| File-Dir-Dumper documentation | view source | Contained in the File-Dir-Dumper distribution. |
File::Dir::Dumper::Stream::JSON::Writer - writer for a stream of JSON data.
Version 0.0.7
use File::Dir::Dumper::Stream::JSON::Writer;
my $writer = File::Dir::Dumper::Stream::JSON::Writer->new(
{
output => $output_file_handle,
}
);
$writer->put($token);
$writer->put($another_token);
.
.
.
$writer->close();
Initializes a new object that writes to the filehandle $output_filehandle.
Outputs the next token as serialized.
Closes the output filehandle.
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:
Copyright 2008 Shlomi Fish, all rights reserved.
This program is released under the following license: MIT/X11 Licence.
| File-Dir-Dumper documentation | view source | Contained in the File-Dir-Dumper distribution. |