There are some things I've been unable to figure out how to do. Like:

- Stop perltidy from deleting the 2 out of the 3 lines between
functions. I'd prefer 3 lines rather than 1.

-  Keep space after parenthesis

e.g this

my ($bug_status) = (@_)


should look like

my ( $bug_status ) = ( @_ )

but instead looks only like

my ( $bug_status ) = (@_)

when using -bt=0


- Stop indentation like:

my $bugzilla_bug_status_map = {
    "ASSIGNED" => {
        name                       => "ASSIGNED",
        active                     => 1,
        possible_resolution_states => ["RESOLVED"],
        possible_resolutions       => []


and instead maintain:


my $bugzilla_bug_status_map = {
    "ASSIGNED" => { name => "ASSIGNED",
                    active => 1,
                    possible_resolution_states => [ "RESOLVED" ],
                    possible_resolutions => [ ] },


- or generally speaking, get perltidy to only change the tabs to spaces,
and nothing else.


On Sat, 2007-11-03 at 09:37 +0100, Oliver Schäfer wrote:
> > Let me know what arguments work for you.
> 
> Wow, makes code so readable :-)
> 
> perltidy \
>      --cuddled-else \
>      --opening-brace-always-on-right \
>      --no-outdent-long-quotes \
>      --maximum-fields-per-table=1 \
>      --comma-arrow-breakpoints=0 \
>      --maximum-line-length=100 \
>      system/src/lib/product/Daemon/Bugzilla.pm.in
> 
> 

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
scmbug-users mailing list
[email protected]
http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users

Reply via email to