- Abigail <[EMAIL PROTECTED]> on 07/17/01 23:45:48 +0200:

> On Tue, Jul 17, 2001 at 12:29:13PM -0500, Andy Bach wrote:
>> Hi Folks,
>> 
>> I got a request of sorts to pretty print SQLs (ugly print I think but 
>> ...) in the format:
>>      select
>>         biz,
>>         baz,
>>         boom
>>      from
>>         ding,
>>         dang
>>      where
>>         zz = yy
>>      and
>>         pp = zz
>>     order by
>>         baz
>> 
>> and I thought; perl, BN, Parse:RecDescent ... FWP!!

give Text::Autoformat a look (last TPJ issue has an article on 
it, Damian also put on out the Descent:: of Man in one of the
last old issues).  

If not then ding me and I'll do something with P::RD as an 
execrcise.

enjoi.
sl

Reply via email to