You use a hash of key/value pairs.
Ilya
-----Original Message-----
From: smackdab smackdab
To: [EMAIL PROTECTED]
Sent: 2/12/02 2:07 PM
Subject: Help with DBI::Format?
(I hope this isn't a dup...if so sorry)
the docs say:
# create a new result object
$r = DBI::Format->new('var1' => 'val1', ...);
# Prepare it for output by creating a header
$r->header($sth, $fh);
# In a loop, display rows
while ($ref = $sth->fetchrow_arrayref()) {
$r->row($ref);
}
I am embarassed to admit, but I can't figure out
what to use as the parameters to new...
I want to tryout the "Box" formatting.
Anyone have any ideas???
Thanks
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com