perl-Exporter-5.680.0-4-rosa2014.1.noarch.rpm


Advertisement

Description

perl-Exporter - Implements default import method for modules

Distribution: ROSA 2014.1
Repository: ROSA Contrib x86_64
Package name: perl-Exporter
Package version: 5.680.0
Package release: 4-rosa2014.1
Package architecture: noarch
Package type: rpm
Installed size: 38.25 KB
Download size: 24.02 KB
Official Mirror: mirror.rosalab.ru
The Exporter module implements an 'import' method which allows a module to export functions and variables to its users' namespaces. Many modules use Exporter rather than implementing their own 'import' method because Exporter provides a highly flexible interface, with an implementation optimised for the common case. Perl automatically calls the 'import' method when processing a 'use' statement for a module. Modules and 'use' are documented in the perlfunc manpage and the perlmod manpage. Understanding the concept of modules and how the 'use' statement operates is important to understanding the Exporter. How to Export The arrays '@EXPORT' and '@EXPORT_OK' in a module hold lists of symbols that are going to be exported into the users name space by default, or which they can request to be exported, respectively. The symbols can represent functions, scalars, arrays, hashes, or typeglobs. The symbols must be given by full name with the exception that the ampersand in front of a function is optional, e.g.

Provides

  • perl(Exporter) == 5.680.0
  • perl(Exporter::Heavy)
  • perl-Exporter == 5.680.0-4:2014.1

    Install Howto

    1. Enable ROSA Contrib repository on Install and Remove Software"
    2. Update packages list:
      # urpmi.update -a
    3. Install perl-Exporter rpm package:
      # urpmi perl-Exporter

    Files

    • /usr/lib/perl5/vendor_perl/5.18.2/Exporter.pm
    • /usr/lib/perl5/vendor_perl/5.18.2/Exporter/Heavy.pm
    • /usr/share/doc/perl-Exporter/Changes
    • /usr/share/man/man3/Exporter.3pm.xz
    • /usr/share/man/man3/Exporter::Heavy.3pm.xz

    Changelog

    2014-07-25 - Denis Silakov <denis.silakov@rosalab.ru> 5.680.0-4 + Revision: bc48d8c - MassBuild#464: Increase release tag

    Advertisement
    Advertisement