Hi,

Has any one worked with mason , mod perl apache on windows. I get a weired problem. The first time a page is requested i get a following System Error.
System error error: Error during compilation of C:\perl-apache2\Apache2\mason\RecA +rc\Release.html: Using a hash as a reference is deprecated at C:/perl-apache2/Apache2/A +SA/ASA_DB.pm line 26. context: ... 22: <th class="table-title-bg" width="12%"> 23: <font size="2"> Part Numbers </font> 24: </th> 25: </tr> 26: % foreach $rowRef (keys(%{$release->{'Release'}})){ 27: <tr title="<% $release->{'Release'}->{$rowRef}->{'Description'} % +>"> 28: <td ><font size="2"> <% $release->{'Release'}->{$rowRef}->{'Relea +seName'}." ".$release->{'Release'}->{$rowRef}->{'Status'} %> 29: </font></td> 30: <td> <font size="2"> <% $release->{'Release'}->{$rowRef}->{'Basel +ine'} %> ... code stack: C:/perl-apache2/Perl/site/lib//HTML/Mason/Interp.pm:326 C:/perl-apache2/Perl/site/lib//HTML/Mason/Request.pm:198 C:/perl-apache2/Perl/site/lib//HTML/Mason/Request.pm:166 C:/perl-apache2/Perl/site/lib//HTML/Mason/ApacheHandler.pm:68 C:/perl-apache2/Perl/site/lib//Class/Container.pm:265 C:/perl-apache2/Perl/site/lib//Class/Container.pm:343 C:/perl-apache2/Perl/site/lib//HTML/Mason/Interp.pm:222 C:/perl-apache2/Perl/site/lib//HTML/Mason/ApacheHandler.pm:899 C:/perl-apache2/Perl/site/lib//HTML/Mason/ApacheHandler.pm:824 (eval 62):8 -e:0
I encounter this problem for first 2 to 3 requests then, Every thing gets to the normal state and the the page loads up fine. Has any one faced such problems or have solution to the problem??
Thanks
SasiKumar

Updated Steve_p - fixed spelling of Mason in the title.


In reply to Mason hash reference by sasikumar

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.