RE: Question about Error

2002-09-18 Thread Nikola Janceski
Are you sure you know what this 'if' statement is doing? It always evaluates true. and the m/$litem/$matchitem/i shouldn't be in quotes. if($litem, /$matchitem/){ ## always true $PNdString =~ m/$litem/$matchitem/i; ## not a pattern match if it's in quotes print (OUTFILE

Re: Question about Error

2002-09-18 Thread Anthony Saffer
Beginners List [EMAIL PROTECTED] Sent: Wednesday, September 18, 2002 8:04 AM Subject: RE: Question about Error Are you sure you know what this 'if' statement is doing? It always evaluates true. and the m/$litem/$matchitem/i shouldn't be in quotes. if($litem, /$matchitem/){ ## always true

Re: Question about Error

2002-09-18 Thread John W. Krahn
Anthony Saffer wrote: Good Morning Everyone, Hello, Got another question: I wrote my first Perl script last night and it seemed to be error free on Windows. But when I uploaded it to Linux (RH 7.3) it threw an error that I don't understand. From a Google search it seems there could be a