|go ahead... be a heretic|
Smart enough for Smart Match??? (was "Understanding ...Given/When" )by LanX (Chancellor)
|on Mar 04, 2010 at 15:53 UTC||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)
see perlsyn#Smart matching in detail
so when writing
I expect this to be tested: @a ~~ /$b/ in the meaning of grep /$b/, @$a
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!!!