I am trying to write a script to list all the possible combinations of gift
certificate denominations for a given order total. For example, if a person
has $25.00 to spend, they can purchase 1 $25.00 certificate, 2 $10.00
certificates and 1 $5.00 certificate, etc.
The code I have so far is listed below. I am struggling with all of the
possible combinations. I think I have to recurs through each of the items,
but I can't figure out how to do that. Can anyone post some relevant
sections in the docs, or other examples similar to this?
use Data::Dump ...