How to decode JSON in Perl language?
#!/usr/bin/perl use LWP::Simple; $web_source = get('https://api.twitter.com/1.1/search/tweets.json'); $decoded_json = decode_json($web_source); print $decoded_json;
Undefined subroutine &main::decode_json called at api.pl line 4.
How to correct this?
I hope you know that the URL you are trying to access wants authorization though.