home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


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::Xref Perl in a Nutshell Next: 8.22 Benchmark
8.20 B::Xref Book Index 8.22 Benchmark

Library Navigation Links

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