% if ($table) {
<tr><td><a href = "add_cd?id=<%$rec->{id}%>"><%$rec->{artist}%></a></td><td><a href = "add_cd?id=<%$rec->{id}%>"><%$rec->{title}%></a></td><td>$<%$rec->{price}%></td></tr>
% } else {
<%$rec->{artist}%>: <%$rec->{title}%> for $<%$rec->{price}%>
%}

<%ARGS>
$id
%cds
$table=>undef
</%ARGS>
<%INIT>
my $rec = $cds{$id};
</%INIT>

