View Single Post
  #4 (permalink)  
Old 07-28-09, 12:23 AM
kenkanya kenkanya is offline
New Member
 
Join Date: Jul 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
When i run the above script (put it in a file firstperl.pl) i get the following message.

D:\myfold>perl firstperl.pl configfile
Search pattern not terminated at firstperl.pl line 6.

firstperl.pl contains
while(<>){
chomp;
if ( /windowsdrivestocrawl=/){
w:/fdm9_84919_c347_2
}
print $_ ."\n";
}

can you let me know, what iam missing?
Reply With Quote