So, package Foo creates its own close, overriding close from SomeGeneralSubs. But after that it would like to call the close method from SomeGeneralSubs. How do I do this ?Package Foo ; use base qw(SomeGeneralSubs) ; sub close { my $obj = shift ; # its all OO # do something specific .... # now call close from 'SomeGeneralSubs' ....? } package SomeGeneralSubs ; sub close { .. }
In reply to howto call an overridden sub by jeanluca
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |