title: How can I print a literal 'null' for undefined values in Perl?
body: <p>I am running a query 'describe table' and it returns value of 'null' for the 'default' column.  However, when I try to print the value from database to an HTML table it is not printing 'null'.  It is just always blank. </p>
  
  <p>This is how I am storing the data from database:</p>
  
  <pre><code>@nulls = ();
  
  while (($null) = $sth1-&gt;fetchrow_array)
      {
      push (@nulls, $null);
      }
  </code></pre>
  
  <p>When I print the contents of array <code>@nulls</code> it never prints the literal value of 'null'.  It is always blank.  Is there a way to overcome this problem?</p>