Help for this page

Select Code to Download


  1. or download this
    <TABLE class="items">
    % foreach my $item (@items) {
    <TR><TD><% $item->link( %ARGS ) %></TD></TR>
    % }
    </TABLE>
    
  2. or download this
    sub link {
      my $self = shift;
    ...
    
      return '<A href="/path/to/item.html?id='.$self->id.'&foo='.$args{'fo
    +o'}.'&bar='.$args{'bar'}.'>'.$self->name.'</A>';
    }