Alrighty, coding in Perl and just had a quick question. I have class created called SubtitleSite which is basically an abstraction, and a class called podnapisi that inherits SubtitleSite like this:
@ISA = qw(SubtitleSite);
My question is, do I have to use:
use SubtitleSite;
in order to have access to all the methods in SubtitleSite?
Yes, but most of the time you're better off not messing with @ISA
directly. Just use parent qw(SubtitlesSite);
, it will load SubtilteSite
for you and add it to @ISA
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With