Recently I decided to abandon my long-held personal formatting standards and just follow perltidy/PBP. And also, due to curiosity about the recent 22 release of Emacs, promised myself to try to use Emacs more :-)
{Tips, Emacs rc file, Whatever} to make cperl-mode behave more closely to PBP would be appreciated. Being a clueless newbie Emacs user, I don't even know how to set the continuation indentation (exact term?), you know, the "z" in code below:
$mech->submit_form(
zzzzform_number => 1,
zzzzfields => {
zzzzzzzzusername => ...
zzzzzzzzpassword => ...
zzzz},
);
By default, cperl-mode behaves like this:
$mech->submit_form(
zzzzzzzzzzzzzzzzzzzzform_number => 1,
zzzzzzzzzzzzzzzzzzzzfields => {
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzusername => ...
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzpassword => ...
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz},
zzzzzzzzzzzzzzzzzzz);
Edit: g0n - replaced pre tags with code tags