I definitely want lines longer than 80 characters.

Isn't there some option you can pass for max_line_length? Google for "PerlTidy max line length"?

Showing " -l=n, --maximum-line-length=n" The default maximum line length is n=80 characters

So unless you specify it, 80 is what you get.

What exactly is the style you are trying to achieve?

Maybe you want -l=0?

A basic glance at the perltidy docs says:

FORMATTING OPTIONS Basic Options -l=n, --maximum-line-length=n The default maximum line length is n=80 characters. Perltidy will +try to find line break points to keep lines below this length. Howeve +r, long quotes and side comments may cause lines to exceed this lengt +h. Setting -l=0 is equivalent to setting -l=(a large number).

I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku <flash japh

In reply to Re: Using perltidy with function arguments by zentara
in thread Using perltidy with function arguments by aflott

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.