debian man page for exporter::easiest

Query: exporter::easiest

OS: debian

Section: 3pm

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

Exporter::Easiest(3pm)					User Contributed Perl Documentation				    Exporter::Easiest(3pm)

NAME
Exporter::Easiest - Takes even more drudgery out of Exporting symbols
SYNOPSIS
In module YourModule.pm: package YourModule; use Exporter::Easiest q( EXPORT => :tag1 OK => munge frobnicate :tag1 => a b c :tag2 => :tag1 d e f FAIL => f g h ); In other files which wish to use YourModule: use ModuleName qw(frobnicate); # import listed symbols frobnicate ($left, $right) # calls YourModule::frobnicate
DESCRIPTION
The Exporter::Easiest module is a wrapper around Exporter::Easy. It allows you to pass the arguments into Exporter::Easy without all those tiresome []s and qw()s. You pass arguments in as a string or an array of strings. You no longer need to bracket lists or take references. If want, you can also leave out the TAGS key and just put tag definitions along with the other keys. The important thing to remember is that tags should be preceded by ':' everywhere, including to the left of the '=>', otherwise it'll get confused. And don't worry I haven't done something horribly pythonesque, whitespace is not significant, all the parsing logic revolves around the use of ':'s and '=>'s
SEE ALSO
For the real details on exporting symbols see Exporter and Exporter::Easy
AUTHOR
Written by Fergal Daly <fergal@esatclear.ie>.
LICENSE
Under the same license as Perl itself perl v5.12.4 2004-07-24 Exporter::Easiest(3pm)
Related Man Pages
sub::exporter::progressive(3) - mojave
exporter::easiest(3pm) - debian
exporter::easy(3pm) - debian
exporter::tidy(3pm) - debian
pdl::exporter(3pm) - debian
Similar Topics in the Unix Linux Community
How can I get an if statement to execute based on number of lines in a file?
Easiest way to cat out first 100 lines of a file into a different file?
Storing values in arrays
Today's date using Perl?
Easiest way to comment/uncomment a shell script?