Exporter::Easy 0.16
Sponsored Links
Exporter::Easy 0.16 Ranking & Summary
File size:
0.009 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
1116
Date added:
2006-10-03
Publisher:
Fergal Daly
Exporter::Easy 0.16 description
Exporter::Easy is a Perl module that takes the drudgery out of Exporting symbols.
SYNOPSIS
In module YourModule.pm:
package YourModule;
use Exporter::Easy (
OK => [ $munge, frobnicate ] # symbols to export on request
);
In other files which wish to use YourModule:
use ModuleName qw(frobnicate); # import listed symbols
frobnicate ($left, $right) # calls YourModule::frobnicate
Exporter::Easy makes using Exporter easy. In its simplest case it allows you to drop the boilerplate code that comes with using Exporter, so
require Exporter;
use base qw( Exporter );
use vars qw( @EXPORT );
@EXPORT = ( init );
becomes
use Exporter::Easy ( EXPORT => [ init ] );
and more complicated situations where you use tags to build lists and more tags become easy, like this
use Exporter::Easy (
EXPORT => [qw( init :base )],
TAGS => [
base => [qw( open close )],
read => [qw( read sysread readline )],
write => [qw( print write writeline )],
misc => [qw( select flush )],
all => [qw( :base :read :write :misc)],
no_misc => [qw( :all !:misc )],
],
OK => [qw( some other stuff )],
);
This will set @EXPORT, @EXPORT_OK, @EXPORT_FAIL and %EXPORT_TAGS in the current package, add Exporter to that packages @ISA and do a use vars on all the variables mentioned. The rest is handled as normal by Exporter.
SYNOPSIS
In module YourModule.pm:
package YourModule;
use Exporter::Easy (
OK => [ $munge, frobnicate ] # symbols to export on request
);
In other files which wish to use YourModule:
use ModuleName qw(frobnicate); # import listed symbols
frobnicate ($left, $right) # calls YourModule::frobnicate
Exporter::Easy makes using Exporter easy. In its simplest case it allows you to drop the boilerplate code that comes with using Exporter, so
require Exporter;
use base qw( Exporter );
use vars qw( @EXPORT );
@EXPORT = ( init );
becomes
use Exporter::Easy ( EXPORT => [ init ] );
and more complicated situations where you use tags to build lists and more tags become easy, like this
use Exporter::Easy (
EXPORT => [qw( init :base )],
TAGS => [
base => [qw( open close )],
read => [qw( read sysread readline )],
write => [qw( print write writeline )],
misc => [qw( select flush )],
all => [qw( :base :read :write :misc)],
no_misc => [qw( :all !:misc )],
],
OK => [qw( some other stuff )],
);
This will set @EXPORT, @EXPORT_OK, @EXPORT_FAIL and %EXPORT_TAGS in the current package, add Exporter to that packages @ISA and do a use vars on all the variables mentioned. The rest is handled as normal by Exporter.
Exporter::Easy 0.16 Screenshot
Exporter::Easy 0.16 Keywords
EXPORT
Easy 0.16
YourModule
Perl module
QW
exporter
symbols
module
tags
takes
Exporter::Easy
ExporterEasy
Exporter::Easy 0.16
Libraries
Programming
Bookmark Exporter::Easy 0.16
Exporter::Easy 0.16 Copyright
WareSeeker periodically updates pricing and software information of Exporter::Easy 0.16 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Exporter::Easy 0.16 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
exporters
steel exporters
leather exporters+india
export favorites
import export
export hotmail contacts
export firefox bookmarks
export address book
exporto brasil
mexico exports
perl modules
export msn favorites
export contacts
export outlook contacts
export documents
exporting
furniture export
export administration regulations
Related Software
Sub::Exporter is a sophisticated exporter for custom-built routines. Free Download
BBDB::Export is a Perl module to export data from The Insidious Big Brother Database. Free Download
Sub::Exporter::Tutorial is a friendly guide to exporting with Sub::Exporter. Free Download
XML::Writer::Simple is a Perl module to create XML files easily! Free Download
Bio::NEXUS::NotesBlock is a Perl module that represents a NOTES block in a NEXUS file. Free Download
UMMF::Export::Java is a code generator for JavaTemplate. Free Download
Drupal::Module::Starter is a Perl module to create Drupal Module starter files. Free Download
PerlPoint::Tags is a Perl module that can processes PerlPoint tag declarations. Free Download
Latest Software
Popular Software
Favourite Software