For the actual data to be formatted?
I didn't think so, because of this code:
>while ($ref = $sth->fetchrow_arrayref()) {
> $r->row($ref);
>}
Do you know how to specify using the "box" formatting?
thanks !!!
>From: "Sterin, Ilya" <[EMAIL PROTECTED]>
>To: 'smackdab smackdab ' <[EMAIL PROTECTED]>, "'[EMAIL PROTECTED] '"
><[EMAIL PROTECTED]>
>Subject: RE: Help with DBI::Format?
>Date: Tue, 12 Feb 2002 14:11:07 -0700
>
>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
_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com