Hi,

I am using mason in a CGI mode on IIS 6.0, windows server 2003 and I am
getting the following error:
Can't locate object method "filename" via package "HTML::Mason::FakeApache"
at D:\test\advising\templates\autohandler line 8, <DATA> line 522.

Here is the code snippet :


<%method .timestamp>
    % my @month = qw( January February March April May June July August
September October November December );
     % my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) =
localtime((stat($r->filename))[9]);
    Updated: <% $month[$mon] %> <% $mday %>, <% $year + 1900 %>
    </%method>

What is filename? And what is the function localtime doing here. In my
belief it is generating files with names that include the date of
generation. Please correct me if I am wrong.
Not much information is available online about the FakeApache package, so if
anyone can help me with the error it would be great.

Thanks,
Charmie
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to