in reply to Re: Procedural vs OOP modules
in thread Procedural vs OOP modules

So if I only want methods that take a value and return another value, it will be procedural...

That's a beautifully elegant exppanation choroba - thnk you

Replies are listed 'Best First'.
Re^3: Procedural vs OOP modules
by perlfan (Parson) on Oct 29, 2021 at 08:59 UTC
    I don't think this is necessarily true. The whole "data encapsulation" thing is a little fuzzy in practice with Perl. I think most people can agree to this. Having that deref syntax is nice, particularly if you tend to use a lot of hash refs.