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


in reply to Is a good or bad idead to "use feature 'switch'"?

Personally I've been moving from smartmatch to match::simple, which provides a like-smartmatch-but-sane match() function.

I'm also working on a counterpart switch statement, but that's likely to require Perl 5.14+. (Update: Switcheroo.)

use Moops; class Cow :rw { has name => (default => 'Ermintrude') }; say Cow->new->name