Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hi, Advice me, please, how to configure perltidy for formatting like this ?
timethese($count, { 'Name1' => sub { ...code1... }, 'Name2' => sub { ...code2... }, });

Replies are listed 'Best First'.
Re: perltidy style options
by stevieb (Canon) on Jun 18, 2016 at 16:58 UTC

    Can you please edit your question with how your code currently looks, so we can work with verbatim existing format to test with? Also update with what the current output looks like (I don't know if different versions of perltidy produces different formatting for its output).