this post was submitted on 06 Aug 2023
1 points (100.0% liked)

perl

59 readers
4 users here now

perl programming language.

founded 3 years ago
MODERATORS
 

I did not find anything mentioning this anywhere, but it is such a basic feature of class based programming, that I can't imagine it is not there, somewhere, somehow.

class One { method do_it {say 1} }
class Two : isa(One) { method do_it { super()->do_it; say 2} } # or so...
no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here