Re: RFC 229 (v2) Variable interpolation on demand.

2000-09-30 Thread Bart Lateur
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

Re: RFC 229 (v2) Variable interpolation on demand.

2000-09-30 Thread Glenn Linderman
"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

Re: RFC 229 (v2) Variable interpolation on demand.

2000-09-30 Thread Glenn Linderman
"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

Re: RFC 229 (v2) Variable interpolation on demand.

2000-09-29 Thread David L. Nicol
Robert Mathews wrote: > > "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. I actually usually do things like unde

Re: RFC 229 (v2) Variable interpolation on demand.

2000-09-29 Thread Robert Mathews
"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

Re: RFC 229 (v2) Variable interpolation on demand.

2000-09-29 Thread David L. Nicol
> > 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 control you can get with

Re: RFC 229 (v2) Variable interpolation on demand.

2000-09-29 Thread John L. Allen
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

Re: RFC 229 (v2) Variable interpolation on demand.

2000-09-29 Thread Robert Mathews
"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

Re: RFC 229 (v2) Variable interpolation on demand.

2000-09-29 Thread John L. Allen
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 tu