<%args> $table $ref <%init> use DBI; use strict; use warnings; # Get general info $table =~ m/^[a-z]*$/ || die "Haha!"; my $q = $dbh->prepare("SELECT * FROM $table WHERE id = ?"); $q->execute($ref) || die "couldn't query $table / $ref!"; my @arr = $q->fetchrow_array; [vs/DBQuery] Details

Details for #<% $ref %> <% $arr[1] %> in table "<% $table %>"

<& special.mas, table=>$table, ref=>$ref &>