Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re^5: Perl Modules

by stevieb (Canon)
on Jun 20, 2017 at 21:23 UTC ( #1193184=note: print w/replies, xml ) Need Help??

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 module...but, i'm not saavy with OO in any language. it, too, is confusing.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1193184]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (9)
As of 2021-06-15 08:49 GMT
Find Nodes?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)

    Results (68 votes). Check out past polls.