in reply to Re^4: Running JavaScript from within Perl (or just use the API)
in thread Running JavaScript from within Perl
my $feedurl = $ua->get($url)->result->json->{feeds.meta.links.feed}; which gave error message: Bareword "feeds" not allowed while "strict subs" in use
Only very simple barewords are automatically quoted in $hash{...} keys, the . is seen as an operator here. Try ...->json->{'feeds.meta.links.feed'};.
Update: See Re: hash key.
|
|---|