title: How to decode JSON in Perl language?
body: <p>How to decode JSON in Perl language?</p>
  
  <p>My try:</p>
  
  <pre><code> #!/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;
  </code></pre>
  
  <p>Error: </p>
  
  <blockquote>
    <p>Undefined subroutine &amp;main::decode_json called at api.pl line 4.</p>
  </blockquote>
  
  <p>How to correct this?</p>