szabgab has asked for the wisdom of the Perl Monks concerning the following question:
will give you a warning42 ~~ [23, 17, "42x", 70]
It is the described behavior as this is Num ~~ Array case but I wonder why it is doing == and not smart matching on each individual element of the Array?Argument "42x" isn't numeric in smart match
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Smart Match is not recursive in 5.10
by polettix (Vicar) on Dec 22, 2007 at 12:33 UTC | |
Re: Smart Match is not recursive in 5.10
by mikfire (Deacon) on Dec 24, 2007 at 14:38 UTC | |
by FunkyMonk (Chancellor) on Dec 24, 2007 at 14:47 UTC | |
by mikfire (Deacon) on Dec 24, 2007 at 16:08 UTC | |
by bigearsbilly (Novice) on Jul 13, 2010 at 11:34 UTC |