I had to disable the warnings because I get an error:
Can't locate warnings.pm in @INC at test.pl line 3. BEGIN failed--compilation aborted at test.pl line 3. When I disable the warnings my script runs but it doesn't find the match from my grep even thought the text I'm trying to find IS in the "input.file" file. I'm missing something... my $file = 'input.file'; if (grep(/FIND MATCH/i, $file)) { Found a match...run code } else { No match found } On Thu, 25 Nov 2004 14:01:46 +0100, Gunnar Hjalmarsson wrote: >FlashMX wrote: >> Is this correct? > ><snip> > >What happened when you tried to run it (with strictures and warnings >enabled)? > >-- >Gunnar Hjalmarsson >Email: http://www.gunnar.cc/cgi-bin/contact.pl > >-- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] ><http://learn.perl.org/> <http://learn.perl.org/first-response> > > On Thu, 25 Nov 2004 14:01:46 +0100, Gunnar Hjalmarsson wrote: >FlashMX wrote: >> Is this correct? > ><snip> > >What happened when you tried to run it (with strictures and warnings >enabled)? > >-- >Gunnar Hjalmarsson >Email: http://www.gunnar.cc/cgi-bin/contact.pl > >-- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] ><http://learn.perl.org/> <http://learn.perl.org/first-response> > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>