Introduction to Mason 18

The Apprentice Site Index Page

<& welcome.mas &>
<& news.mas &>
<& featured_project.mas &>

<%method title>
<& PARENT:title &> - Home
</%method>
<table width="100%" cellspacing="0" cellpadding="5">
 <tr>
  <td class="heading"><h2 class="headline">What's New?</h2></td>
 </tr>
 <tr>
  <td>
   <p>
   The code has been tweaked to work with recent
   versions of Alzabo (0.80+).  The latest source
   for the site, which differs from the code in the
   Mason book, is now available for download here.
   </p>

   <p>
   - Dave
   </p>

   <p>
   <em>Last modified: <% $last_mod %></em>
   </p>
  </td>
 </tr>
</table>

<%init>
my $comp_time = (stat $m->current_comp->source_file)[9];
my $last_mod =
    Time::Piece->strptime( $comp_time, '%s' )
               ->strftime( '%B %e, %Y %H:%M' );
</%init>