BSD Ports

textproc/p5-Petal-CodePerl 0.06_1 FreeBSD

Make Petal go faster by compiling the expressions

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Categories
textproc, perl5
Package size
28.5 KiB, 441.0 KiB installed

Description

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 mod_perl.

In the other systems

SystemPortVersion
FreeBSDtextproc/p5-Petal-CodePerl0.06_1
DragonFlytextproc/p5-Petal-CodePerl0.06_1

Install

Binary package:

pkg install p5-Petal-CodePerl

From the ports tree:

cd /usr/ports/textproc/p5-Petal-CodePerl/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Petal-CodePerl>0:textproc/p5-Petal-CodePerl

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.06_10.06_10.06_10.06_10.06_1
FreeBSD:14:quarterly0.06_10.06_1n/a0.06_10.06_1
FreeBSD:15:latest0.06_10.06_1n/a0.06_10.06_1
FreeBSD:15:quarterly0.06_10.06_1n/an/an/a
FreeBSD:16:latest0.06_10.06_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 3

Runtime 3

The full lists below include those, and their dependencies in turn.

Build dependencies 7
Run dependencies 7

No port depends on this one.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 14
  • %%PERL5_MAN3%%/Petal::CodePerl.3.gz
  • %%PERL5_MAN3%%/Petal::CodePerl::Expr.3.gz
  • %%PERL5_MAN3%%/Petal::CodePerl::Modifiers.3.gz
  • %%SITE_PERL%%/Petal/CodePerl.pm
  • %%SITE_PERL%%/Petal/CodePerl/CodeGenerator.pm
  • %%SITE_PERL%%/Petal/CodePerl/Compiler.pm
  • %%SITE_PERL%%/Petal/CodePerl/Expr.pm
  • %%SITE_PERL%%/Petal/CodePerl/Expr/Alternate.pm
  • %%SITE_PERL%%/Petal/CodePerl/Expr/DerefTAL.pm
  • %%SITE_PERL%%/Petal/CodePerl/Expr/PathExists.pm
  • %%SITE_PERL%%/Petal/CodePerl/Expr/PerlSprintf.pm
  • %%SITE_PERL%%/Petal/CodePerl/GrammarLoader.pm
  • %%SITE_PERL%%/Petal/CodePerl/Modifiers.pm
  • %%SITE_PERL%%/Petal/CodePerl/Parser.pm
distinfo 1
FileSizeSHA256
Petal-CodePerl-0.06.tar.gz42974e2de78c5671de44ab95cc9f75fab0ecac8347494f900b02af6757a4d4b03e576
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.