Is this what you are looking for
this post was submitted on 06 Aug 2023
3 points (100.0% liked)
perl
1 readers
1 users here now
perl programming language.
founded 3 years ago
MODERATORS
I can do One::do_it($self)
or One->can('do_it')->($self)
, but that seems very ugly and against the pattern.
But if you are referring to:
my $sub = sub { $self->SUPER::method(@_) };
or actually only
$self->SUPER::method(@_)
~~no, this is seemingly no possible (and what I am looking for, in one way or another) - this is the super() from my pseudo code above and there is no SUPER. This seems to be a bless based feature...~~
Sorry, I take that back, $self->SUPER::do_it();
does work!
Thanks!