parent(3p) Perl Programmers Reference Guide parent(3p)
parent(3p) Perl Programmers Reference Guide parent(3p) # parent(3p) Perl Programmers Reference Guide parent(3p) NNAAMMEE # parent - Establish an ISA relationship with base classes at compile time SSYYNNOOPPSSIISS # package Baz; use parent qw(Foo Bar); DDEESSCCRRIIPPTTIIOONN # Allows you to both load one or more modules, while setting up inheritance from those modules at the same time. Mostly similar in effect to package Baz; BEGIN { # require Foo; require Bar; push @ISA, qw(Foo Bar); } By default, every base class needs to live in a file of its own. ...