Subject: | effort() with no arguments should default to $_ |
If one calls C<effort> like this
my $effort = effort;
The function C<die>s. That's contrary to conventional Perl behavior. In the above case, C<effort> should use $_ as the source of the text. In other words, the above should be the same as
my $effort = effort( text => $_ );
Which demands also that something like
my $effort = effort( layout => 'dvorak' );
behave as though it were
my $effort = effort( text => $_, layout => 'dvorak' );
Try to use sensible defaults and avoid C<die>ing.