Re: Forced interpolation

2005-12-06 Thread Chris Wagner
At 01:10 PM 12/6/2005 -0800, $Bill Luebkert wrote: >Артем Аветисян wrote: > >> English is not my native, so i'd be pleased if you explain me the point :) > >He probably had in mind something of a sexual nature. :) > >>>I wanted to make a joke about the subject, but every time I try su

Re: Forced interpolation

2005-12-06 Thread $Bill Luebkert
Артем Аветисян wrote: > English is not my native, so i'd be pleased if you explain me the point :) He probably had in mind something of a sexual nature. :) >>I wanted to make a joke about the subject, but every time I try such a >>thing, it never comes out right. Sigh.

Re[2]: Forced interpolation

2005-12-06 Thread Артем Аветисян
English is not my native, so i'd be pleased if you explain me the point :) > > I wanted to make a joke about the subject, but every time I try such a > thing, it never comes out right. Sigh. > > -- Craig > > > --- > avast! Antivirus: Outbound message clean. > Virus Database (VPS): 0549-2, 12/

Re[2]: Forced interpolation

2005-12-06 Thread Артем Аветисян
gt; > my $str = 'lazha'; > my $pattern = 'la(zh)(a)'; > my $replacement = '$1o"p$2'; > eval "\$str =~ s/$pattern/$replacement/;"; > print$str; > __END__ > zho"pa > - Original Message - > From: "Артем Аветисян&

Re: Forced interpolation

2005-12-06 Thread Craig Cardimon
I wanted to make a joke about the subject, but every time I try such a thing, it never comes out right. Sigh. -- Craig --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 0549-2, 12/06/2005 Tested on: 12/6/2005 12:54:08 PM avast! - copyright (c) 1988-2004 ALWIL Software. http:/

Re: Forced interpolation

2005-12-06 Thread Chris Wagner
At 06:47 PM 12/6/2005 +0300, >my $str = 'lazha'; >my $pattern = 'la(zh)(a)'; >my $replacement = '$1o"p$2'; >$str =~ s/$pattern/$replacement/; >print $str; >I want zho"pa to be printed. So far it is obviously '$1o"p$2'. eval (as well I think ur going about this the wrong way. I'm guessing that u

RE: Forced interpolation

2005-12-06 Thread Charles K. Clarkson
Àðòåì Àâåòèñÿí <> wrote: : use strict; : my $str = 'lazha'; : my $pattern = 'la(zh)(a)'; : my $replacement = '$1o"p$2'; : $str =~ s/$pattern/$replacement/; : print $str; : __END__ : : I want : : zho"pa my $replacement = "$1o\"p$2"; # or: my $replacement = qq($1o"p$2); # You can read more ab

Forced interpolation

2005-12-06 Thread Артем Аветисян
Hi, all. use strict; my $str = 'lazha'; my $pattern = 'la(zh)(a)'; my $replacement = '$1o"p$2'; $str =~ s/$pattern/$replacement/; print $str; __END__ I want zho"pa to be printed. So far it is obviously '$1o"p$2'. eval (as well as s///ee) doesn't seem to be helpful. More generally, I want to k