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
|
---|
In Section
Seekers of Perl Wisdom