田口 浩 wrote:
>>Try: perltidy -l=200 -i=2 -pt=2 -ce -st -nbbc T1.pl
> 
> 
> Thanks, it's what I'm loooking for, "No BBC"! -:)
> 
> perltidy help is somewhat difficult to understand for 
> non English speaker, isn't it?

I didn't read the help.  It says it should be here:
        http://perltidy.sourceforge.net

I just worked down through the module code for control switches
till I got to here ** :

     ########################################
     $category = 8;    # Blank line control
     ########################################
     $add_option->( 'blanks-before-blocks',            'bbb', '!' );
**  $add_option->( 'blanks-before-comments',          'bbc', '!' );
     $add_option->( 'blanks-before-subs',              'bbs', '!' );

Try:
        perltidy -h

and you should get a pretty long list of switches that includes bbc.
_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to