James Ryley wrote:
Hi,
I was wondering if anything ever became of the comments at
http:[EMAIL PROTECTED]/msg00318.html?
I have an application that would benefit from double interpolation. Of
course I can work around it, but double interpolation would be so much
cleaner. Was it ever
How 'bout:
$foo = 'def';
$bar = 'ghi';
$y = 'abc$foo$bar';
$z = eval qq{$y};
Of course, for security and correctness reasons, you'd probably want
to:
$y =~ s/\\//g;
$y =~ s/!/\\/g;
Why would \\t not double-interpolate to a tab? Also, why would \\
not double
On 4 Apr 2002, Aaron Sherman wrote:
On Thu, 2002-04-04 at 11:09, Luke Palmer wrote:
On Thu, 4 Apr 2002, James Ryley wrote:
How 'bout:
$foo = 'def';
$bar = 'ghi';
$y = 'abc$foo$bar';
$z = eval qq{$y};
Of course, for security and correctness reasons, you'd probably want to:
By ultimate control, I meant that if you have an interpolate command,
you can then do whatever you want at each stage. You could do:
$z = interpolate interpolate $y;
Good point. Well, we were brainstorming macros for a reason ;). But an
efficient version would be nice, I suppose.
On Thu, 4 Apr 2002, James Ryley wrote:
Hi,
I was wondering if anything ever became of the comments at
http:[EMAIL PROTECTED]/msg00318.html?
I have an application that would benefit from double interpolation. Of
course I can work around it, but double interpolation would be so much