in reply to purpose of Super keyword
sub get_coordinates { $self = shift; return $self->SUPER::get_coordinates(), get_z(); }
This is explained in much more detail in the Overridden Methods section of perltoot, which you should read if you want to learn about OO mechanics in Perl.
|
|---|