Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Combinations with constraints

by Anonymous Monk
on Jun 28, 2022 at 17:18 UTC ( [id://11145155]=note: print w/replies, xml ) Need Help??


in reply to Combinations with constraints

Sorry, correction: [ c?6, b%5, a%3, a?1] is a valid combination

Replies are listed 'Best First'.
Re^2: Combinations with constraints
by LanX (Saint) on Jun 28, 2022 at 17:34 UTC
    > Sorry, correction: [ c?6, b%5, a%3, a?1] is a valid combination

    That's wrong

    ("c?6", "a?1", "a?2", "b%5")

    is one, a%3 doesn't fit your substring criteria.

    > "a?,b%,c?"

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery

      Thanks for you comment, Rolf! It just has to contain the substring strings. Any additional strings within the combination are fine (they do not have to conform)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-04-24 01:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found