P is for Practical | |
PerlMonks |
Re: User preference: To store params or notby jeffa (Bishop) |
on Jul 28, 2015 at 22:46 UTC ( [id://1136672]=note: print w/replies, xml ) | Need Help?? |
I think i would have the defaults in a temporary hash and merge that with the users preferences:
This way you shouldn't have to reset them, they get applied "on the fly." jeffa L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
In Section
Seekers of Perl Wisdom
|
|