home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / perl5 / base.z / base
Encoding:
Text File  |  2002-10-03  |  1.0 KB  |  67 lines

  1.  
  2.  
  3.  
  4. bbbbaaaasssseeee((((3333))))                                                                bbbbaaaasssseeee((((3333))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      base - Establish IS-A relationship with base class at compile time
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.          package Baz;
  13.          use base qw(Foo Bar);
  14.  
  15.  
  16. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  17.      Roughly similar in effect to
  18.  
  19.          BEGIN {
  20.              require Foo;
  21.              require Bar;
  22.              push @ISA, qw(Foo Bar);
  23.          }
  24.  
  25.      When strict 'vars' is in scope _b_a_s_e also let you assign to @ISA without
  26.      having to declare @ISA with the 'vars' pragma first.
  27.  
  28.      This module was introduced with Perl 5.004_04.
  29.  
  30. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  31.      the _f_i_e_l_d_s manpage
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.