On Fri, 29 Sep 2000 15:30:46 -0500, David L. Nicol wrote:
it's not a new feature. It's amazing the subtle control you
can get with s/(\$...)/$1/ge depending on your
Wrapping such a critter up in a tied scalar sounds like a total
piece of cake
What will you do with:
${foo}bar
"John L. Allen" wrote:
On 29 Sep 2000, Perl6 RFC Librarian wrote:
Make Perl's powerful string interpolation facilities are available to
variables, in addition to literals.
=head1 DESCRIPTION
Given:
$foo = 'def';
$bar = 'ghi';
$x = "abc$foo$bar";
$y = 'abc$foo$bar';
"David L. Nicol" wrote:
This is a new feature, so name conflict is the only issue.
Thisseems compatiblewith otherextensionsto string
interpolation... whatever extensions get implemented should work here
too.
it's not a new feature. It's amazing the subtle
On 29 Sep 2000, Perl6 RFC Librarian wrote:
Make Perl's powerful string interpolation facilities are available to
variables, in addition to literals.
=head1 DESCRIPTION
Given:
$foo = 'def';
$bar = 'ghi';
$x = "abc$foo$bar";
$y = 'abc$foo$bar';
There is no way to turn obtain
"John L. Allen" wrote:
Um, what would your proposal gain you over
$z = eval "qq{$y}";
other than conciseness, elegance and speed (which may be quite enough!) ?
$y = '};system "rm -rf *";qq{';
--
Robert Mathews
Software Engineer
Excite@Home
On Fri, 29 Sep 2000, Robert Mathews wrote:
"John L. Allen" wrote:
Um, what would your proposal gain you over
$z = eval "qq{$y}";
other than conciseness, elegance and speed (which may be quite enough!) ?
$y = '};system "rm -rf *";qq{';
Hmmm, hold on a second while I test
"David L. Nicol" wrote:
it's not a new feature. It's amazing the subtle control you
can get with s/(\$...)/$1/ge depending on your
You mean /gee, right? Hadn't thought of that. /ee makes my brain hurt.
--
Robert Mathews
Software Engineer
Excite@Home