title: Perl CGI Meta tags
body: <p>Per <a href="http://perldoc.perl.org/CGI.html" rel="nofollow">http://perldoc.perl.org/CGI.html</a> to make meta tags, the following example is given:</p>
  
  <blockquote>
  <pre><code>print start_html(-head=&gt;meta({-http_equiv =&gt; 'Content-Type',-content =&gt; 'text/html'}))
  </code></pre>
  </blockquote>
  
  <p>However using the following code:</p>
  
  <pre><code>#!/usr/bin/perl
  use strict;
  use warnings;
  use CGI;
  
  my $cgi = new CGI;
  $cgi-&gt;autoEscape(undef);
  $cgi-&gt;html({-head=&gt;meta({-http_equiv =&gt; 'Content-Type',-content =&gt; 'text/html',-charset=&gt;'utf-8'}),-title=&gt;'Test'},$cgi-&gt;p('test'));
  </code></pre>
  
  <p>I get the following error:</p>
  
  <blockquote>
    <p>$ perl test.cgi  Undefined subroutine
    &amp;main::meta called at test.cgi line 8.</p>
  </blockquote>
  
  <p>I'm trying to generate the following tag:</p>
  
  <pre><code>&lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt;
  </code></pre>