in reply to Re: Comparing a value to a list of numbers
in thread Comparing a value to a list of numbers
Hence many movable and slow parts. Essentially a very sweet syntax coming with a cost.
Question: is there also intelligent support for ranges? I'd buy into this if yes.
like if ($x == any(1,2,5,6,9,10,[41,56]) { ... } ?
I suppose it's clear where the advantages are ...
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Comparing a value to a list of numbers
by Fletch (Bishop) on Jan 29, 2021 at 21:59 UTC |