Hello,
I can't learn much from perltidy help page.
One is I don't like new line before such a comment,
"# call some sub".
Someone would show me the correct switch?
C:>perl -MPerl::Tidy -le "print $Perl::Tidy::VERSION"
20070508
C:>cat.pl T1.pl
#!/usr/bin/perl
if ($ret eq $TRUE) {
# call some sub
$ret = foo("abc");
} else {
$ret = 1;
}
C:>perltidy -l=200 -i=2 -pt=2 -ce -st T1.pl
#!/usr/bin/perl
if ($par_ret eq $TRUE) {
# call some sub
$ret = foo("abc");
} else {
$ret = 1;
}
C:>
Regards,
H.T.
_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs