Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
jesuashok there are some problems in your code. You have not assigned any vales to $line I don't know what are you doing in the below line, which is not necessary. Suppose you need to count the number of occurences, then it might be useful. $line=~s/($book)/$1/ig;Also change the below line GrandFather has highlighted clearly the other problems. Unless you give exact requirement you cannot get correct solutions. You will get answers only in assumptions. Prasad In reply to Re: Reading contents of file using regex
by prasadbabu
|
|