1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00
freebsd-ports/lang/p5-Interpolation/pkg-descr
Sunpoet Po-Chuan Hsieh ad4f267b7a Update WWW
search.cpan.org is shutting down.
It will redirect to metacpan.org after June 25, 2018.

With hat:	perl
2018-05-27 20:15:16 +00:00

17 lines
470 B
Plaintext

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.
WWW: https://metacpan.org/release/Interpolation