[Israel.pm] (no subject)

Levenglick Dov-RM07994 Dov at freescale.com
Thu Mar 16 07:23:46 PST 2006

Other than the fact that I can't do that in the specific script that I am running due to other limitations, can you please clarify what buffer you are talking about, how it gets filled and why can't I access it when I am trying to? 

Best Regards,
Dov Levenglick
DSP SoC System and Applications Engineer,
Network and Computing Systems Group
Freescale Semiconductor Israel
Tel. +972-9-952-2804
The information contained in this email is classified as:
[ ] General Business Information
[ ] Freescale Internal Use Only
[ ] Freescale Confidential Propriety
[x] Personal Memorandum

-----Original Message-----
From: perl-bounces at perl.org.il [mailto:perl-bounces at perl.org.il] On Behalf Of Gabor Szabo
Sent: Thursday, March 16, 2006 5:17 PM
To: Perl in Israel
Subject: Re: [Israel.pm] (no subject)

On 3/16/06, Levenglick Dov-RM07994 <Dov at freescale.com> wrote:
> Actually it is because that is what it is supposed to do. What I had really wanted to ask is why this:
> perl5.8.7 -e '$a="";$a=~s/(\w+)\.(\w+)\.(\w+)\.(\w+)\.(\w+)\.(\w+)\.(\w+)\.(\w+)\.(\w+)\.(\w+)/\10/;print $a'
> doesn't print anything when the camel book states:

still you have to use $10 in the replacement part.
\10 refers to the buffer only in the regex part.

perl5.8.7 -e '$a="";$a=~s/(\w+)\.(\w+)\.(\w+)\.(\w+)\.(\w+)\.(\w+)\.(\w+)\.(\w+)\.(\w+)\.(\w+)/$10/;print

prints 20


Perl mailing list
Perl at perl.org.il

More information about the Perl mailing list