good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Transpose guitar chordsby johngg (Canon) |
on Feb 23, 2011 at 14:32 UTC ( [id://889797]=note: print w/replies, xml ) | Need Help?? |
Being about as musical as a brick, I can't comment about how you transpose the notes. I do think you'd be better off setting up the array first and then deriving the hash from it rather than the other way around; it saves you having to sort. The no warnings qw{ qw }; is to silence warnings where Perl thinks we are trying to put comments inside a qw{ ... } list.
I hope this is of interest. Cheers, JohnGG
In Section
Seekers of Perl Wisdom
|
|