BSD Ports

lang/p5-Interpolation 0.74_1 DragonFly

Implement arbitrary string interpolation semantics for Perl

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
Categories
lang, perl5
Package size
12.3 KiB, 25.5 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

The newest version among them is 0.74, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlylang/p5-Interpolation0.74_1 newestnone known-[email protected]-
FreeBSDlang/p5-Interpolation0.74_1 newestnone known-[email protected]-
HardenedBSDlang/p5-Interpolation0.74_1 newestno data-[email protected]-
GhostBSDlang/p5-Interpolation0.74_1 newestno data-[email protected]-

Install

Binary package:

pkg install p5-Interpolation

From DPorts:

cd /usr/dports/lang/p5-Interpolation && make install clean

Dependencies

Run dependencies 2

No port depends on this one.