|Perl Monk, Perl Meditation|
Perl::Tidy formatting questionby pukku (Novice)
|on Oct 26, 2011 at 16:33 UTC||Need Help??|
pukku has asked for the
wisdom of the Perl Monks concerning the following question:
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?