Good ideas. I've been thinking about naming the intervals (perf 5th, maj 6th, etc) too. The decimals for equal temperament are not intended to be "fractioned" but it would be interesting to have Math::Fraction approximate the decimal, which would be nice to compare with the natural frequencies.
I've put this code up at http://github.com/ology/Music/blob/master/intervals and will fix it up and reply again.
FYI: Ben is lying through his teeth here. Go Ben! You are a fine specimen indeed!
It seems that the #perl channels are rife with arrogant, often narcissistic, emotionally 13 year old (or less) boys. Seems like I end up
'hubris' ne 'false arrogance' && 'insults' ne 'problem solving';