<div>The code I&#39;m keeping updated has lots of lines like this:</div><div>    $cgi = CGI-&gt;new();</div><div>    $report = $cgi-&gt;{report};</div><div><br></div><div>(To pull in the &quot;report=&quot; value from the URL: <a href="http://testrh6/bin/test.cgi?report=MyReportName">http://testrh6/bin/test.cgi?report=MyReportName</a>)</div>

<div><br></div><div>When I was testing it on a RedHat 6 system running Perl 5.10.1, the $report variable was coming up as undefined, but on the test systems running Perl 5.8, it was just fine.</div><div><br></div><div>The fix is to use the param() method like this:</div>

<div>    $report = $cgi-&gt;param(&#39;report&#39;);</div><div><br></div><div>Looks like I have a lot of code to fix.  (IMHO it was broken before, just Perl was being nice about it...)</div><div><br></div><div>Question: Did I miss this change, or did someone at RH mis-apply a patch?  (I am leaning toward a functional change to increase security and make the CGI object more OO-correct...)  I read the Perl change logs from 5.8 through 5.10.1 but didn&#39;t see this noted.</div>

<div><br></div><div>Dan</div><div><br></div><div>Here&#39;s my test code:</div><div><div>     1  #!/usr/bin/perl -w</div><div>     2  use strict;</div><div>     3  use CGI;</div><div>     4  use Data::Dumper;</div><div>     5  my $perl_version = $];</div>

<div>     6  my $cgi;</div><div>     7  my $report;</div><div>     8</div><div>     9  print &quot;Content-type: text/html\n\n&quot;;</div><div>    10  print &quot;&lt;html&gt;&lt;head&gt;\n&quot;;</div><div>    11  print &quot;&lt;title&gt;CGI Test&lt;/title&gt;\n&quot;;</div>

<div>    12  print &quot;&lt;/head&gt;\n&quot;;</div><div>    13  print &quot;&lt;body&gt;\n&quot;;</div><div>    14  print &quot;Testing with version: $perl_version\n&quot;;</div><div>    15  print &quot;&lt;pre&gt;&quot;;</div>

<div>    16  # Create CGI object</div><div>    17  $cgi = CGI-&gt;new();</div><div>    18</div><div>    19  $report = $cgi-&gt;{report};</div><div>    20  print &quot;Raw report variable:&quot;;</div><div>    21  print Dumper $report;</div>

<div>    22  print &quot;\n&quot;;</div><div>    23</div><div>    24  $report = $cgi-&gt;param(&#39;report&#39;);</div><div>    25  print &quot;Report variable with param:&quot;;</div><div>    26  print Dumper $report;</div>

<div>    27  print &quot;\n&quot;;</div><div>    28  print &quot;&lt;\pre&gt;&quot;;</div><div>    29  exit;</div><div><br></div><div>On CentOS 5.5, the page reports this:</div><div><div>Testing with version: 5.008008</div>

<div>Raw report variable:$VAR1 = [</div><div>          &#39;MyReportName&#39;</div><div>        ];</div><div><br></div><div>Report variable with param:$VAR1 = &#39;MyReportName&#39;;</div></div><div><br></div><div><br></div>

<div>On the RedHat 6 box, this is the output:</div><div>Testing with version: 5.010001</div><div>Raw report variable:$VAR1 = undef;</div><div><br></div><div>Report variable with param:$VAR1 = &#39;MyReportName&#39;;</div>

<div><br></div>-- <br>***************** ************* *********** ******* ***** *** **<br>&quot;Quis custodiet ipsos custodes?&quot;<br>    (Who can watch the watchmen?)<br>    -- from the Satires of Juvenal<br>&quot;I do not fear computers, I fear the lack of them.&quot;<br>

    -- Isaac Asimov (Author)<br>** *** ***** ******* *********** ************* *****************<br>
</div>