RE: [Perl-unix-users] Sentences that not working right

2003-02-18 Thread Ing. Ricardo Cumberbatch L. \(PANNet - URC\)
Thanks, Sir Peter I used your idea and Ya it working goods =-P On Tue, 18 Feb 2003, Peter Eisengrein wrote: > Is it possible that PE-456-987 may be pe-456-987 or Pe-456-987 or > pE-456-987? If so, then your match would need to be > > if ($cedula =~ /$linea[2]/i) > > -Original Message

RE: [Perl-unix-users] Sentences that not working right

2003-02-18 Thread Peter Eisengrein
Is it possible that PE-456-987 may be pe-456-987 or Pe-456-987 or pE-456-987? If so, then your match would need to be if ($cedula =~ /$linea[2]/i) -Original Message- From: Ing. Ricardo Cumberbatch L. (PANNet - URC) [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 9:51 AM To: [

RE: [Perl-unix-users] Sentences that not working right

2003-02-18 Thread Matt Schneider
I Tried this myself but it worked for me. The one difference is that I specifically assigned matching values to the two variables. You might try putting print "$cedula -- $linea[2]\n"; in in front of your if statement to make sure that split is splitting the string how you think it should be