Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: 8.20 B::XrefChapter 8
Standard Modules
Next: 8.22 Benchmark
 

8.21 base

Provides a shortcut for setting up @ISA. You can say:

use base qw(A B);
instead of:
BEGIN {
    require Foo;
    require Bar;
    push @ISA, qw(Foo Bar);
}


Previous: 8.20 B::XrefPerl in a NutshellNext: 8.22 Benchmark
8.20 B::XrefBook Index8.22 Benchmark

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.