As I understand it, they aren't quite equivalent. From the docs: Allows you to both load one or more modules, while setting up inheritance from those modules at the same time. Roughly similar in effect to
package Baz; BEGIN { require Foo; require Bar; push @ISA, qw(Foo Bar); }
In reply to Re: 'base' versus @ISA, why?
by Your Mother
in thread 'base' versus @ISA, why?
by rvosa
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |