Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Greetings!
What perltidy options must I use to prevent perltidy from 'collapsing' this:
Readonly my $_aref => [ 1, 2, 3, ]; Readonly my $_href => { one => 1, two => 2, three => 3, }; say 'one', 'two', 'three'; print ( 'one', 'two', 'three', );
to this?
Readonly my $_aref=>[1,2,3,]; Readonly my $_href=>{ one=>1, two=>2, three=>3, }; say 'one','two','three'; print('one','two','three',);
I would like to keep the "newlines".
Thanks!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: PerlTidy - keeping newlines in non block grouping.
by hippo (Archbishop) on Dec 16, 2021 at 22:40 UTC | |
by Anonymous Monk on Dec 16, 2021 at 23:26 UTC |