http://www.perlmonks.org?node_id=1193184


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.