p5-Petal-CodePerl - Make Petal go faster by compiling the expressions

Property Value
Distribution FreeBSD 11
Repository FreeBSD Ports Latest amd64
Package filename p5-Petal-CodePerl-0.06_1.txz
Package name p5-Petal-CodePerl
Package version 0.06
Package release 1
Package architecture amd64
Package type txz
Category perl5 textproc
Homepage https://metacpan.org/release/Petal-CodePerl
License -
Maintainer perl@FreeBSD.org
Download size 29.68 KB
Installed size 441.71 KB
This module provides a CodeGenerator for Petal that inherits almost
everything from Petal::CodeGenerator but modifies how expressions are
dealt with. Petal normally includes code like this
$hash->get( "not:user" )
in the compiled template. This means the path has to be parsed and
interpreted at runtime. Using Petal::CodePerl, Petal will now produce this
! ($hash->{"user"})
which will be much faster.
It uses Parse::RecDescent to parse the PETALES expressions which makes it
a bit slow to load the module but this won't matter much unless you have
turned off caching. It won't matter at all for something like Apache's
WWW: https://metacpan.org/release/Petal-CodePerl


Package Version Architecture Repository
p5-Petal-CodePerl-0.06_1.txz 0.06 i386 FreeBSD Ports Quarterly
p5-Petal-CodePerl-0.06_1.txz 0.06 amd64 FreeBSD Ports Quarterly
p5-Petal-CodePerl-0.06_1.txz 0.06 i386 FreeBSD Ports Latest
p5-Petal-CodePerl - - -


Name Value
p5-Code-Perl = 0.03_2
p5-Parse-RecDescent = 1.967015
p5-Petal = 2.25
perl5 = 5.28.1_1


Type URL
Mirror pkg.freebsd.org
Binary Package p5-Petal-CodePerl-0.06_1.txz
Source Package textproc/p5-Petal-CodePerl

Install Howto

Install p5-Petal-CodePerl txz package:

# pkg install p5-Petal-CodePerl

See Also

Package Description
p5-Petal-Mail-0.31_2.txz Format text e-mail using Petal
p5-Petal-Utils-0.06_1.txz Useful template modifiers for Petal
p5-Pg-2.1.1_6,1.txz Interface for using perl5 to access PostgreSQL databases
p5-Phone-Info-0.0.1_2.txz Provides a nicer CLI interface to Net::WhitePages
p5-Physics-Unit-0.54.txz Manipulate Physics units and dimensions
p5-Pid-File-Flock-0.08_1.txz PID file operations
p5-Pipeline-3.12_2.txz Pipeline - Generic pipeline interface
p5-Pithub-0.01034.txz Github v3 API
p5-PkgConfig-0.23026.txz Pure-Perl Core-Only replacement for pkg-config
p5-PkgConfig-LibPkgConf-0.10.txz Interface to .pc file interface via libpkgconf
p5-PlRPC-0.2020_2.txz Perl module for writing RPC servers and clients
p5-Plack-1.0047.txz Perl extension of PSGI reference implementation and utilities
p5-Plack-App-Proxy-0.29_1.txz Plack extension for proxy requests
p5-Plack-Builder-Conditionals-0.05_1.txz Perl extension to extend Plack::Builder
p5-Plack-Handler-AnyEvent-HTTPD-0.03_1.txz Perl extension for Plack handler to run PSGI apps on AnyEvent::HTTPD