Thanks for the fix!
This is also a showcase some quirks of the Perl language:
use v5.40.0 implies "strict refs", so Perl complains about *$rim even before trying to use it as the invocant of the method (as I originally thought).
In reply to Re^3: Using perlclass 'methods'
by haj
in thread Using perlclass 'methods'
by drudgesentinel
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |