PDL::Exporter man page on aLinux

Man page or keyword search:  
man Server   7435 pages
apropos Keyword Search (all sections)
Output format
aLinux logo
[printable version]

Exporter(3)	      User Contributed Perl Documentation	   Exporter(3)

NAME
       PDL::Exporter - PDL export control

DESCRIPTION
       Implements the standard conventions for import of PDL modules in to the
       namespace

       Hopefully will be extended to allow fine control of which namespace is
       used.

SYNOPSIS
       use PDL::Exporter;

	use PDL::MyModule;	 # Import default function list ':Func'
	use PDL::MyModule '';	 # Import nothing (OO)
	use PDL::MyModule '...'; # Same behaviour as Exporter

DESCRIPTION
       "PDL::Exporter" is a drop-in replacement for the Exporter module. It
       confers the standard PDL export conventions to your module.  Usage is
       fairly straightforward and best illustrated by an example. The
       following shows typical usage near the top of a simple PDL module:

	  package PDL::MyMod;

	  use strict;
	  use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS);

	  require PDL::Exporter;

	  @ISA = qw(PDL::Exporter);
	  @EXPORT_OK = qw(inc myfunc); # these will be exported by default
	  %EXPORT_TAGS = (Func=>[@EXPORT_OK],
			  Internal => [qw/internfunc1 internfunc2/],
			 );

	   # ... body of your module

	  1; # end of simple module

SEE ALSO
       Exporter

AUTHOR
       Copyright (C) Karl Glazebrook (kgb@aaoepp.aao.gov.au).  Some docs by
       Christian Soeller.  All rights reserved. There is no warranty. You are
       allowed to redistribute this software / documentation under certain
       conditions. For details, see the file COPYING in the PDL distribution.
       If this file is separated from the PDL distribution, the copyright
       notice should be included in the file.

perl v5.10.0			  2002-05-21			   Exporter(3)
[top]

List of man pages available for aLinux

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net