http://www.perlmonks.org?node_id=1067460


in reply to Re: Warning while using ternary operator
in thread Warning while using ternary operator

Though that would be a hell of a lot more readable as:

$hash->{'name'} = "hello"."world" if $i eq 'one';
use Moops; class Cow :rw { has name => (default => 'Ermintrude') }; say Cow->new->name