Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: How can one generate all possible combinations with reference to string positions?

by supriyoch_2008 (Scribe)
on Feb 23, 2013 at 02:29 UTC ( #1020269=note: print w/ replies, xml ) Need Help??


in reply to Re: How can one generate all possible combinations with reference to string positions?
in thread How can one generate all possible combinations with reference to string positions?

Hi kenneth,

Thanks for the script. It works nicely. I shall be glad if you kindly explain how to use and change the code 3-$l, 3-$h. Does it have any relationship with the number of L and H in the string following printf? Do the $h (1..2) and $l (1..2) refer to 2 levels each for H and L? Actually I tried to learn making some alterations in the script like 4-$l, 5-$h, $h(1..3), $l(1..4) etc.in appropriate places but I could not understand. This is because I donot know why the terms are used and how to change them. I hope you won't mind explain the terms. Please suggest me some reference texts for further study.


Comment on Re^2: How can one generate all possible combinations with reference to string positions?
Re^3: How can one generate all possible combinations with reference to string positions?
by kennethk (Monsignor) on Feb 25, 2013 at 15:37 UTC

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2014-09-24 03:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (244 votes), past polls