[Israel.pm] (no subject)
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?
DSP SoC System and Applications Engineer,
Network and Computing Systems Group
Freescale Semiconductor Israel
The information contained in this email is classified as:
[ ] General Business Information
[ ] Freescale Internal Use Only
[ ] Freescale Confidential Propriety
[x] Personal Memorandum
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="184.108.40.206.220.127.116.11.9.10";$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="18.104.22.168.22.214.171.124.9.20";$a=~s/(\w+)\.(\w+)\.(\w+)\.(\w+)\.(\w+)\.(\w+)\.(\w+)\.(\w+)\.(\w+)\.(\w+)/$10/;print
Perl mailing list
Perl at perl.org.il
More information about the Perl