in reply to Re^3: Running JavaScript from within Perl (or just use the API)
in thread Running JavaScript from within Perl
I was previously given the example:
my $subscribers = $ua->get( $url )->result->json->{subscribers_count};
which I modified (based on this JSON Tutorial) to:
my $feedurl = $ua->get($url)->result->json->{feeds.meta.links.feed};
which gave error message:
Bareword "feeds" not allowed while "strict subs" in use
I'll keep exploring but would appreciate any hints.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Running JavaScript from within Perl (or just use the API)
by haukex (Archbishop) on Sep 21, 2019 at 12:37 UTC | |
|
Re^5: Running JavaScript from within Perl (or just use the API)
by marto (Cardinal) on Sep 21, 2019 at 16:31 UTC |