Peter J. Holzer skribis 2005-07-17 16:28 (+0200):
> I usually start continuation lines below the matching element in the
> line above, so they are usually indented more than 2 or 4 spaces, like
> this:
>     $foo = Foo::Bar->gazonk(a - long,
>                             line /
>                           (with - many),
>                           arguments);

Almost the same here. I treat () and [] the same as {}, when things are
spread over multiple lines:

    $foo = Foo::Bar->gazonk(
        a - long,
        line / (with - many),
        arguments
    );

My preference is 4 real spaces, for indenting. Some more of my
preferences can be found at http://juerd.nl/perlstyle.


Juerd
-- 
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html 
http://convolution.nl/gajigu_juerd_n.html

Reply via email to