perl-Apache-Hendrix-0.3.0-alt1.noarch.rpm


Advertisement

Description

perl-Apache-Hendrix - Provides a route-to-sub based web framework

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-Apache-Hendrix
Package version 0.3.0
Package release alt1
Package architecture noarch
Package type rpm
Installed size 13.11 KB
Download size 13.11 KB
Official Mirror ftp.altlinux.org
use Apache::Hendrix;
my $base = '/web_path/base'
base($base);  # Base for routes form here below
template_variable->{base} = $base;  # Base for templates "base"
template_config->{PRE_PROCESS}  = 'header.tt';
template_config->{POST_PROCESS} = 'footer.tt';
template_config->{INCLUDE_PATH} = '/my/path/to/templates/';
get '/' => sub {
my ( $params, $apache_request, $this_sub_reference ) = @_;
my @articles = get_articles ..... ;
return template( 'index.tt', { articles => \@articles, page => 'news', ... } );
};
get '/thing/:param' => sub  { ... }
post '/post/:param' => sub { ... }
get qr/some.*regexp/ => sub { ... }

Alternatives

Package Version Architecture Repository
perl-Apache-Hendrix - - -

Requires

Name Value
/usr/share/perl5 -
perl(Apache2/Const.pm) -
perl(Apache2/Request.pm) -
perl(Apache2/RequestIO.pm) -
perl(Apache2/RequestRec.pm) -
perl(Apache2/Response.pm) -
perl(DDP.pm) -
perl(JSON/XS.pm) -
perl(Module/Load.pm) -
perl(Moose.pm) -
perl(Moose/Exporter.pm) -
perl(MooseX/ClassAttribute.pm) -
perl(MooseX/FollowPBP.pm) -
perl(Template.pm) -
perl(Tie/Hash/NamedCapture.pm) -
perl(TryCatch.pm) -
perl(version.pm) -
perl-base >= 1:5.10.0
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(Apache/Hendrix.pm) = 0.003
perl(Apache/Hendrix/Route.pm) = 0.001
perl(Apache/Hendrix/Session.pm) = 0.001
perl-Apache-Hendrix = 0.3.0-alt1

Download

Type URL
Binary Package perl-Apache-Hendrix-0.3.0-alt1.noarch.rpm
Source Package perl-Apache-Hendrix-0.3.0-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-Apache-Hendrix rpm package:
    # sudo apt-get install perl-Apache-Hendrix

Files

Path
/usr/share/doc/perl-Apache-Hendrix-0.3.0/Changes
/usr/share/doc/perl-Apache-Hendrix-0.3.0/README
/usr/share/perl5/Apache/Hendrix.pm
/usr/share/perl5/Apache/Hendrix/Route.pm
/usr/share/perl5/Apache/Hendrix/Session.pm

See Also

Package Description
perl-Apache-Htgroup-1.23-alt1.noarch.rpm Manage Apache htgroup files
perl-Apache-JavaScript-DocumentWrite-0.02-alt1.noarch.rpm replaces document as javascript document.write
perl-Apache-LangURI-0.19-alt1.noarch.rpm Rewrite Accept-Language headers from URI path and back
perl-Apache-Layer-1.07-alt1.noarch.rpm Layer content tree over one or more others
perl-Apache-Lint-0.10-alt1.noarch.rpm Apache wrapper around HTML::Lint
perl-Apache-Log-Parser-0.02-alt1.noarch.rpm Parser for Apache Log (common, combined, and any other custom styles by LogFormat)
perl-Apache-Log-Parser-scripts-0.02-alt1.noarch.rpm Apache-Log-Parser scripts
perl-Apache-LogF-0.01-alt1.noarch.rpm perl module Apache-LogF
perl-Apache-LogIgnore-0.03-alt1.noarch.rpm mod_perl log handler to ignore connections
perl-Apache-LogRegex-1.71-alt1_7.noarch.rpm Parse a line from an Apache logfile into a hash
perl-Apache-MP3-4.00-alt1.noarch.rpm Generate streamable directories of MP3 and Ogg Vorbis files
perl-Apache-MSIISProbes-1.08-alt1.noarch.rpm Responds to worm attacks on Microsoft Internet Information Servers with e-mail warnings
perl-Apache-MimeXML-0.08-alt1.noarch.rpm mod_perl mime encoding sniffer for XML files
perl-Apache-PHLogin-0.5-alt1.noarch.rpm authenticates via a PH database
perl-Apache-Pod-0.22-alt1.noarch.rpm base class for converting Pod files to prettier forms
Advertisement
Advertisement