Perl Monk, Perl Meditation | |
PerlMonks |
Re: How to convert array key values into percentagesby ww (Archbishop) |
on Jan 26, 2014 at 21:01 UTC ( [id://1072149]=note: print w/replies, xml ) | Need Help?? |
As AnonyMonk notes, you've left us guessing about the nature of the rule(s) by which you are planning to derive your various products, namely:
Whatever your method is, it eludes me (and given the lack of answers on a day with few new question, possibly is a mystery to others as well) especially since there's no obvious (again, 'to me') common path for transforming
And then there is the trailing @final_array[5]=75 on line 7: Whence came that inexplicable entry? Is it a mere typo or cut'n'paste error or does it have some significance to your problem and if so, what? If it's somehow related to @sorted_array[5] (which is "2"), pray explain. I won't claim that explanation is good for the soul, but yours would surely be a good aid to those of interesting in helping people learn Perl... which is one key to what this site is about. See I know what I mean. Why don't you?
In Section
Seekers of Perl Wisdom
|
|