Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Prevent line split for keywords in perltidy

by beech (Parson)
on Nov 09, 2018 at 03:34 UTC ( [id://1225474]=note: print w/replies, xml ) Need Help??


in reply to Prevent line split for keywords in perltidy

Hi

Try -boc, --break-at-old-comma-breakpoints

$ cat 2 has arg => qw(is rw isa ArrayRef), arg => qw(is rw isa ArrayRef), defa +ult => sub { [] }; $ perltidy < 2 has arg => qw(is rw isa ArrayRef), arg => qw(is rw isa ArrayRef), default => sub { [] }; $ perltidy -boc < 2 has arg => qw(is rw isa ArrayRef), arg => qw(is rw isa ArrayRef), default => sub { [] };

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1225474]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (1)
As of 2026-05-10 20:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.