lang/p5-Interpolation 0.74_1 FreeBSD
Implement arbitrary string interpolation semantics for Perl
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Categories
- lang, perl5
- Package size
- 12.6 KiB, 25.3 KiB installed
Description
Beginners always want to write this:
print "The sum of three and four is: 3+4";
And they want the 3+4 part to be evaluated, so that it prints this:
The sum of three and four is: 7
Of course, it's a double-quoted string, so it's not evaluated. The only things that are evaluated in double-quoted strings are variable references.
There are solutions to this, but most of them are ugly. This module is less ugly.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | lang/p5-Interpolation | 0.74_1 |
| DragonFly | lang/p5-Interpolation | 0.74_1 |
Install
Binary package:
pkg install p5-Interpolation
From the ports tree:
cd /usr/ports/lang/p5-Interpolation/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Interpolation>0:lang/p5-Interpolation
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.74_1 | 0.74_1 | 0.74_1 | 0.74_1 | 0.74_1 |
| FreeBSD:14:quarterly | 0.74_1 | 0.74_1 | n/a | 0.74_1 | 0.74_1 |
| FreeBSD:15:latest | 0.74_1 | 0.74_1 | n/a | 0.74_1 | 0.74_1 |
| FreeBSD:15:quarterly | 0.74_1 | 0.74_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.74_1 | 0.74_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 1
p5-HTML-Parser>=0: www/p5-HTML-Parser
Runtime 1
p5-HTML-Parser>=0: www/p5-HTML-Parser
The full lists below include those, and their dependencies in turn.
Build dependencies 13
Run dependencies 13
No port depends on this one.
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 2
- %%PERL5_MAN3%%/Interpolation.3.gz
- %%SITE_PERL%%/Interpolation.pm
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Interpolation-0.74.tar.gz | 21417 | 2b5a58987f7a1ffe234f111fe97b98b26e43fb5491c8e9083cf4d50bebde7876 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.