nichtich / Catmandu-Importer-getJSON

Load JSON data via HTTP GET with Catmandu
https://metacpan.org/release/Catmandu-Importer-getJSON
Other
1 stars 4 forks source link

Set input lines by method #8

Closed nichtich closed 9 years ago

nichtich commented 10 years ago

This does not work because file must be given on constructor:

my $importer =Catmandu::Importer::getJSON->new(url  => $url);
$importer->file(\"{\"title\":\"$title\"}");
$importer->each( ... );

Maybe passing an array reference or other kind of easy iterator?

nichtich commented 9 years ago

I don't understand myself anymore