Perl-Sensitive Sunglasses | |
PerlMonks |
Perl::Tidy formatting questionby pukku (Novice) |
on Oct 26, 2011 at 16:33 UTC ( [id://933933]=perlquestion: print w/replies, xml ) | Need Help?? |
pukku has asked for the wisdom of the Perl Monks concerning the following question: Hi! I have a question about a particular issue with Perl::Tidy.
If I have the following code:
I would like the result to be:
Instead, I get:
The breaks have to do with line length, obviously, but my question is how do I tell Perl::Tidy that it should put the object on the same line as the assignment -- that is, if it's going to break lines with chained ->, it should do so for all of them? Thanks.
Back to
Seekers of Perl Wisdom
|
|