The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

Интерактивная система просмотра системных руководств (man-ов)

 ТемаНаборКатегория 
 
 [Cписок руководств | Печать]

base (3)
  • >> base (3) ( Solaris man: Библиотечные вызовы )
  • base (3) ( Linux man: Библиотечные вызовы )
  • 
    
    

    NAME

         base - Establish IS-A relationship with base class at
         compile time
    
    
    

    SYNOPSIS

             package Baz;
             use base qw(Foo Bar);
    
    
    
    

    DESCRIPTION

         Roughly similar in effect to
    
             BEGIN {
                 require Foo;
                 require Bar;
                 push @ISA, qw(Foo Bar);
             }
    
         Will also initialize the %FIELDS hash if one of the base
         classes has it.  Multiple inheritance of %FIELDS is not
         supported.  The 'base' pragma will croak if multiple base
         classes have a %FIELDS hash.  See the fields manpage for a
         description of this feature.
    
         When strict 'vars' is in scope base also let you assign to
         @ISA without having to declare @ISA with the 'vars' pragma
         first.
    
         If any of the base classes are not loaded yet, base silently
         `require's them.  Whether to `require' a base class package
         is determined by the absence of a global $VERSION in the
         base package.  If $VERSION is not detected even after
         loading it, <base> will define $VERSION in the base package,
         setting it to the string `-1, defined by base.pm'.
    
    
    

    HISTORY

         This module was introduced with Perl 5.004_04.
    
    
    

    SEE ALSO

         the fields manpage
    
    
    
    


    Поиск по тексту MAN-ов: 




    Партнёры:
    PostgresPro
    Inferno Solutions
    Hosting by Hoster.ru
    Хостинг:

    Закладки на сайте
    Проследить за страницей
    Created 1996-2024 by Maxim Chirkov
    Добавить, Поддержать, Вебмастеру