perl-ActionExporter - Extends Exporter with the export_action() function, for use with the GCT::XSP::ActionTaglib module

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-ActionExporter
Package version 0.02
Package release alt1
Package architecture noarch
Package type rpm
Installed size 3.64 KB
Download size 3.64 KB
Official Mirror
Extends Exporter with the export_action() function. Calling ActionExporter::export_action("foo") exports the two subs 'foo_start' and 'foo_end' under a export tag 'foo'. This is usefull for creating an action Library as follows:
package MyActionsLibrary;
require ActionExporter;
our @ISA = ("ActionExporter");
sub foo_start{ return '';}
sub foo_end{   return '';}
sub bar_start{ return '';}
sub bar_end{   return '';}
A taglib created using using ActionTaglib can then use the 'foo' actions by simply adding 'use MyActionLibrary qw(:foo);', for example:
package MyTaglib;
use GCT::XSP::ActionTaglib;
@ISA = qw(use GCT::XSP::ActionTaglib;);
our $tagactions;
use MyActionLibrary qw(:foo);
$tagactions->{tag1}=[{ -action => 'foo' }];
Actions exported using the export_action() command are also added to the 'allactions' export tag so a taglib could import all the actions from an action library with:
use MyActionLibrary qw(:allactions);
$tagactions->{tag1}=[{ -action => 'foo' }];
$tagactions->{tag2}=[{ -action => 'bar' }];


Package Version Architecture Repository
perl-ActionExporter - - -


Name Value
/usr/share/perl5 -
rpmlib(PayloadIsLzma) -


Name Value
perl( = 0.020
perl-ActionExporter = 0.02-alt1


Type URL
Binary Package perl-ActionExporter-0.02-alt1.noarch.rpm
Source Package perl-ActionExporter-0.02-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    rpm [Sisyphus] noarch autoimports
    rpm [Sisyphus] noarch autoimports
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-ActionExporter rpm package:
    # sudo apt-get install perl-ActionExporter



See Also

Package Description
perl-ActiveRecord-Simple-0.94-alt1.noarch.rpm Simple to use lightweight implementation of ActiveRecord pattern
perl-ActiveRecord-Simple-scripts-0.94-alt1.noarch.rpm ActiveRecord-Simple scripts
perl-ActiveResource-0.01-alt1.noarch.rpm Implemented in Perl
perl-Activiti-Rest-Client-0.1254-alt1.noarch.rpm Client api for the rest api of Activiti
perl-Adam-0.91-alt1.noarch.rpm The patriarch of IRC Bots
perl-Adapter-Async-0.019-alt1.noarch.rpm common API for linking data sources and views
perl-Address-PostCode-Australia-0.12-alt1.noarch.rpm Interface to the Australia PostCode
perl-Address-PostCode-India-0.13-alt1.noarch.rpm Interface to the India PinCode
perl-Address-PostCode-UK-0.18-alt1.noarch.rpm Interface to the UK PostCode
perl-Address-PostCode-UserAgent-0.09-alt1.noarch.rpm User agent for Address::PostCode::* family
perl-AddressBook-0.16-alt2.noarch.rpm perl module AddressBook
perl-Advent-Bundles-0.05-alt1.noarch.rpm Collection of year-by-year Bundles of the Perl Advent Calendar modules
perl-Agent-TCLI-0.032-alt1.noarch.rpm Transactional Contextual Line Interface Agent
perl-Agent-TCLI-Package-Net-0.031-alt1.noarch.rpm Network tools for TCLI agents
perl-Agent-TCLI-Package-Net-scripts-0.031-alt1.noarch.rpm Agent-TCLI-Package-Net scripts