in reply to Re: ~~ and list literal
in thread ~~ and list literal
Follow-up question:
Why does "x" ~~ "a", "b", "c" always give 1? Running through Deparse gives: 'x' ~~ 'a', '???', 'c'. What is going on here?
And why does "x" ~~ sub { "a", "b", "c" } also give 1? Smart match is giving me a headache...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: ~~ and list literal
by ikegami (Patriarch) on Oct 27, 2012 at 00:15 UTC | |
|
Re^3: ~~ and list literal
by mbethke (Hermit) on Oct 26, 2012 at 01:56 UTC | |
|
Re^3: ~~ and list literal
by Anonymous Monk on Oct 26, 2012 at 03:16 UTC |