Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Is a good or bad idead to "use feature 'switch'"?

by tobyink (Abbot)
on Sep 03, 2013 at 14:56 UTC ( #1052122=note: print w/ replies, xml ) Need Help??


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
Comment on Re: Is a good or bad idead to "use feature 'switch'"?
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1052122]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2016-04-30 05:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    :nehw tseb si esrever ni gnitirW







    Results (441 votes). Check out past polls.