Perl match problem
- From: "yezi" <ye_line@xxxxxxxxxxx>
- Date: 30 Aug 2005 15:46:36 -0700
If I want to find the text wheather match the RD[$j] $j is the any
number
between -25 to 25, can I write the following sentence :
for ($j=-25;$j<=25;$j++)
if($parts[0] =~ /RD[$j]/)
I am not sure the is expression, since the code can not work. Thanks
for any
comments
.
- Follow-Ups:
- Re: Perl match problem
- From: Josef Moellers
- Re: Perl match problem
- From: Jürgen Exner
- Re: Perl match problem
- Prev by Date: FAQ 2.4 I copied the perl binary from one machine to another, but scripts don't work.
- Next by Date: Re: Perl match problem
- Previous by thread: FAQ 2.4 I copied the perl binary from one machine to another, but scripts don't work.
- Next by thread: Re: Perl match problem
- Index(es):