|
Hi Robert - I don't have an answer for you, but I do have a diagnostic suggestion... sorry if this is stuff you've already thought of. The timestamp you're seeing is the UNIX date and time at 0. I'd suggest confirming that $m->current_comp->source_file is returning a useful name, and that stat is returning a useful value...to see if the problem is with one of them. Perhaps $m->current_comp->source_file is returning a relative path and stat isn't finding the file? I've never used $m->current_comp->source_file, so I'm just guessing here. But adding something along the lines of: <%init> my $comp_name = $m->current_comp->source_file; my $stat_time = stat($comp_file)[9]; </%init> <p>Comp name: <% $comp_name %></p> <p>Stat time: <% $stat_time %></p> to your component might be enlightening. That would be my next step. If $stat_time is 0 and $comp_name is reasonable then there's something weird going on with the stat call. If $stat_time isn't 0 then the problem is in the Time::Piece line. Good luck! - john romkey http://www.romkey.com/ Robert Hicks wrote:
|
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Mason-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mason-users

