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
| System | Port | Version |
|---|---|---|
| FreeBSD | textproc/p5-Petal-CodePerl | 0.06_1 |
| DragonFly | textproc/p5-Petal-CodePerl | 0.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.06_1 | 0.06_1 | 0.06_1 | 0.06_1 | 0.06_1 |
| FreeBSD:14:quarterly | 0.06_1 | 0.06_1 | n/a | 0.06_1 | 0.06_1 |
| FreeBSD:15:latest | 0.06_1 | 0.06_1 | n/a | 0.06_1 | 0.06_1 |
| FreeBSD:15:quarterly | 0.06_1 | 0.06_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.06_1 | 0.06_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 3
p5-Petal>=0: textproc/p5-Petalp5-Parse-RecDescent>=0: devel/p5-Parse-RecDescentp5-Code-Perl>=0: devel/p5-Code-Perl
Runtime 3
p5-Petal>=0: textproc/p5-Petalp5-Parse-RecDescent>=0: devel/p5-Parse-RecDescentp5-Code-Perl>=0: devel/p5-Code-Perl
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
| File | Size | SHA256 |
|---|---|---|
| Petal-CodePerl-0.06.tar.gz | 42974 | e2de78c5671de44ab95cc9f75fab0ecac8347494f900b02af6757a4d4b03e576 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.