blessed reference to a hash
Perl's object inheritance methods use
@ISA to determine what classes a module inherits from.
inheritance was declared by modifying
@ISA directly; now,
most programs use the base pragma to declare inheritance.
The following are mostly equivalent:
package Foo; require Wango; @ISA = ( "Wango" ); package Foo; use base "Wango";
Submit a PR to github.com/petdance/perl101
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.