p5-Interpolation
0.74_1Implement arbitrary string interpolation semantics for Perl
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.
Origin: lang/p5-Interpolation
Category: lang
Size: 25.3KiB
License: not specified
Maintainer: perl@FreeBSD.org
Dependencies: 2 packages
Required by: 0 packages
Website: metacpan.org/release/Interpolation
$
pkg install p5-InterpolationDependencies (2)
More in lang
perl55.42.0_1
Practical Extraction and Report Languagepython3113.11.15
Interpreted object-oriented programming languageruby3.3.10,1
Object-oriented interpreted scripting languagephp848.4.16
PHP Scripting Language (8.4.X branch)gcc1414.2.0_4
GNU Compiler Collection 14php828.2.30
PHP Scripting Language (8.2.X branch)php838.3.29
PHP Scripting Language (8.3.X branch)php858.5.1
PHP Scripting Language (8.5.X branch)tcl868.6.17
Tool Command Languagep5-Try-Tiny0.32
Minimal try/catch with proper localization of $@