There's more than one way to do things | |
PerlMonks |
Re^2: Request for help in method namingby stevieb (Canon) |
on May 18, 2017 at 19:08 UTC ( [id://1190557]=note: print w/replies, xml ) | Need Help?? |
That's a decent approach, but I'm thinking more along the lines of something so that the values themselves can be sent in, so the methods can operate outside of the core data storage. This way, parts of this module can be used without having to actually generate or used stored organized data to do some translations. This would definitely work though, and I hadn't thought about such an approach. It would be trivial to have poll() accept another parameter, and on each call, even an interrupt via a button could set this param (or unset it). I appreciate the feedback. I will keep it in mind and play around for sure.
In Section
Seekers of Perl Wisdom
|
|