You do not need to change to OO. It was simply an example, which did include using a non-OO based module (WiringPi::API). My above example shows the same type of usage, but without any OO at all.
Using OO is a personal preference, or when you need to keep the state of things.
| [reply] [d/l] |
ah, alright. well, i'm not at all familiar with that Wiring module...i am reading everyone's posts though, and heeding all the advice very carefully. so many thanks. every tidbit of info i get will help. i had thought about converting to OO - at least for the user.pm module...but, i'm not saavy with OO in any language. it, too, is confusing.
| [reply] |