in reply to Re^2: what is sub {1;}
in thread what is sub {1;}

It allows

my $rv = $args{'Post'} ? $args{'Post'}->() : 1;
to be simplified to
my $rv = $args{'Post'}->();

Or if the return value isn't checked, it allows

$args{'Post'} and $args{'Post'}->();
to be simplified to
$args{'Post'}->();

(sub{} would have been sufficient in the latter case.)