From: Asim Suter on

By default it generates code like K&R style:

if( ......................... ){


}

which I do not like:

========================

I'd like it generate BSD style like following:


if( ........................ )
{

}

Is there an option in perltidy to achieve that ?
I don't seem to find one in perltify help.

TIA
Asim


From: Asim Suter on

-l gnu seems to do the job.

"Asim Suter" <asuter(a)cisco.com> wrote in message
news:1208635229.736177(a)sj-nntpcache-3.cisco.com...
>
> By default it generates code like K&R style:
>
> if( ......................... ){
>
>
> }
>
> which I do not like:
>
> ========================
>
> I'd like it generate BSD style like following:
>
>
> if( ........................ )
> {
>
> }
>
> Is there an option in perltidy to achieve that ?
> I don't seem to find one in perltify help.
>
> TIA
> Asim
>


 | 
Pages: 1
Prev: How to record .asx files
Next: $nntp ->list()