Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

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?

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2015-12-01 08:26 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (796 votes), past polls