in reply to Re: Dynamically generate setter/getter methods [Updated]
in thread Dynamically generate setter/getter methods

What's the fun in living if you're not living dangerously? ;)

In all seriousness, thanks for posting this. In all my years, I never looked into AUTOLOAD, so 20 years in, and I'm still learning new things!

Cheers,

-stevieb

Replies are listed 'Best First'.
Re^3: Dynamically generate setter/getter methods [Updated]
by shmem (Chancellor) on Dec 20, 2020 at 19:37 UTC
    ... I never looked into AUTOLOAD ...

    Have a look at this node for a slightly funny use of AUTOLOAD.

    perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'