Next | The Perl Hardware Store | DC.pm Version | 62 |
An alternative to Interpolation is syntactic sugar.
Example: You have a data structure you want to print out, say
$struct = [AND, [OR, [ATOM, 'x'], [ATOM, 'y']], [NOT, [ATOM, 'z']]]
You'd like this to print out as (x|y)&(~z).
Interpolation only works on strings.
Next | Copyright © 2003 M. J. Dominus |