Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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 rifling through the Monastery: (5)
As of 2024-04-24 08:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found