Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: Comparing a value to a list of numbers

by Bod (Chaplain)
on Jan 29, 2021 at 23:25 UTC ( #11127666=note: print w/replies, xml ) Need Help??


in reply to Re: Comparing a value to a list of numbers
in thread Comparing a value to a list of numbers

Luckily, there is a module that can handle a string such as the one you've shown, Set::IntSpan

I'm not sure why I continue to be surprised...but...
It still amazes me just how many really useful modules are shared in the Monastery every day!

  • Comment on Re^2: Comparing a value to a list of numbers

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11127666]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2021-06-15 10:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)












    Results (70 votes). Check out past polls.

    Notices?