Re: regular error

2012-07-12 Thread xiyoulaoyuanjia
> 2012/7/12 timothy adigun <2teezp...@gmail.com> > >> Hi xiyoulaoyuanjia, >> Check my comments below. >> >> On 7/12/12, xiyoulaoyuanjia wrote: >> > i am very sorry ! i am intend to parse variable $a by the regular >> > variable $b . in below way! >> >> the below script will not give any ou

Re: regular error

2012-07-11 Thread timothy adigun
Hi xiyoulaoyuanjia, Check my comments below. On 7/12/12, xiyoulaoyuanjia wrote: > i am very sorry ! i am intend to parse variable $a by the regular > variable $b . in below way! the below script will not give any output. > > $a="abc[0]"; > $b="bc[

RE: regular error

2012-07-11 Thread Jack Maney
, 2012 11:46 PM To: Jack Maney Cc: beginners@perl.org Subject: Re: regular error i am very sorry ! i am intend to parse variable $a by the regular variable $b . in below way! $a="abc[0]"; $b="

Re: regular error

2012-07-11 Thread xiyoulaoyuanjia
i am very sorry ! i am intend to parse variable $a by the regular variable $b . in below way! $a="abc[0]"; $b="bc[0]"; $a=~/$b/; - but it can not parse right ! just because the "[" symbol。 i kow $a=~/abc\[0]/

RE: regular error

2012-07-11 Thread Jack Maney
I don't understand what you're trying to say or do. Exactly what error message are you getting? -Original Message- From: xiyoulaoyuanjia [mailto:xiyoulaoyuan...@gmail.com] Sent: Wednesday, July 11, 2012 10:54 PM To: beginners@perl.org Subject: regular error *hi all:* * i have an error