in reply to Re^4: Perl Modules
in thread Perl Modules

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.

Replies are listed 'Best First'.
Re^6: Perl Modules
by jamroll (Beadle) on Jun 20, 2017 at 22:03 UTC
    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.