Name : perl-Exporter-Easy
| |
Version : 0.18
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp151.1.1
| Date : 2018-12-03 22:13:55
|
Group : Development/Libraries/Perl
| Source RPM : perl-Exporter-Easy-0.18-lp151.1.1.src.rpm
|
Size : 0.04 MB
| |
Packager : (none)
| |
Summary : Takes the drudgery out of Exporting symbols
|
Description :
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( AATTEXPORT ); AATTEXPORT = ( \'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 \'AATTEXPORT\', \'AATTEXPORT_OK\', \'AATTEXPORT_FAIL\' and \'%EXPORT_TAGS\' in the current package, add Exporter to that package\'s \'AATTISA\' and do a \'use vars\' on all the variables mentioned. The rest is handled as normal by Exporter.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl/openSUSE_Leap_15.1/noarch |
Hmm ... It's impossible ;-) This RPM doesn't exist on any FTP server
Provides :
perl(Exporter::Easiest)
perl(Exporter::Easy)
perl-Exporter-Easy
Requires :