Skip Menu |

This queue is for tickets about the Text-TypingEffort CPAN distribution.

Report information
The Basics
Id: 13404
Status: resolved
Priority: 0/
Queue: Text-TypingEffort

People
Owner: michael [...] ndrix.org
Requestors: michael [...] palmcluster.org
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 0.01
Fixed in: 0.21



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.