perl-ActionExporter-0.02-alt1.noarch.rpm


Advertisement

Description

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 ftp.altlinux.org
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");
ActionExporter::export_action("foo");
sub foo_start{ return '';}
sub foo_end{   return '';}
ActionExporter::export_action("bar");
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' }];

Alternatives

Package Version Architecture Repository
perl-ActionExporter - - -

Requires

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

Provides

Name Value
perl(ActionExporter.pm) = 0.020
perl-ActionExporter = 0.02-alt1

Download

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] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-ActionExporter rpm package:
    # sudo apt-get install perl-ActionExporter

Files

Path
/usr/share/doc/perl-ActionExporter-0.02/Changes
/usr/share/doc/perl-ActionExporter-0.02/README
/usr/share/perl5/ActionExporter.pm

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.09-alt1.noarch.rpm Interface to the Australia PostCode
perl-Address-PostCode-India-0.08-alt1.noarch.rpm Interface to the India PinCode
perl-Address-PostCode-UK-0.14-alt1.noarch.rpm Interface to the UK PostCode
perl-Address-PostCode-UserAgent-0.05-alt1.noarch.rpm User agent for Address::PostCode::* family
perl-AddressBook-0.16-alt1.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
Advertisement
Advertisement