Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^3: Why is perltidy using indent-columns instead of continuation-indentation when breaking up a long if-line?

by Lotus1 (Vicar)
on Jan 08, 2019 at 15:14 UTC ( #1228215=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    if ($foofoofoofoofoo && $barbarbarbarbar && $bazbazbazbazbaz && $bazba
    +zbazbazbaz) {
        foo1();
    ...
    ($foofoofoofoofoo && $barbarbarbarbar && $bazbazbazbazbaz && $bazbazba
    +zbazbaz || $123456) || $bazbazbazbazbaz;
    ($foofoofoofoofoo && $barbarbarbarbar && $bazbazbazbazbaz && $bazbazba
    +zbazbaz && $123456) || $bazbazbazbazbaz;
    
  2. or download this
    if (   $foofoofoofoofoo
        && $barbarbarbarbar
    ...
          && $123456 )
      || $bazbazbazbazbaz;
    
  3. or download this
    (($foofoofoofoofoo && $barbarbarbarbar && $bazbazbazbazbaz && $bazbazb
    +azbazbaz || $12345678901234567890) && $test112345123456789 ) && $test
    +22222233333 || $bazbazbazbazbaz || $bazbazbazbazbaz123456 && $bazbazb
    +azbazbaz123456789 || (($x1122334441234512345 && $x2211123451345 % $x3
    +3112212345123451234 && $y111222123451234512345 || $y11122222123451234
    +5 ) && ($x1234512345123456789 || $x12345612345123456789 || $x12356712
    +3451234567890 && $x1234123412345 )) || $xx1122331234512345 && $xx1231
    +231234512345;
    
  4. or download this
    (
        (
    ...
      || $xx1122331234512345 && $xx1231231234512345;
    
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1228215]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2019-12-15 20:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?