When an opening paren follows a Perl keyword, no space is introduced after the
keyword, unless it is (by default) one of these:
- my local our and or xor eq ne if else elsif until unless
- while for foreach return switch case given when
+ my local our state and or xor err eq ne if else elsif until unless
+ while for foreach return switch case given when catch
These defaults can be modified with two commands:
# default keywords for which space is introduced before an opening paren
# (at present, including them messes up vertical alignment)
- my @sak = qw(my local our and or xor err eq ne if else elsif until
+ my @sak = qw(my local our state and or xor err eq ne if else elsif until
unless while for foreach return switch case given when catch);
%space_after_keyword = map { $_ => 1 } @sak;