No such thing as a small change | |
PerlMonks |
Smart enough for Smart Match??? (was "Understanding ...Given/When" )by LanX (Saint) |
on Mar 04, 2010 at 15:53 UTC ( [id://826728]=note: print w/replies, xml ) | Need Help?? |
> I have no idea what you are asking. Maybe I'm not smart enough for Smart Match ;)
Is perlsyn#Switch statements clear???
($_ was given) and
see perlsyn#Smart matching in detail so when writing
I expect this to be tested: @a ~~ /$b/ in the meaning of grep /$b/, @$a Two possibilities: a) the docs need a rewrite! b) my brain needs a rewrite! ;)
Cheers Rolf ...still confused... UPDATE: Sorry personally I think that ~~ is far too overloaden with functionality to be easily understood!!!
In Section
Seekers of Perl Wisdom
|
|