Hi Monks i have a big file form my results with perl.i want to look for words around a specific word in this file.for example if i have a file with following sentences : i am going home they are going school. sam is going to lunch. how can i find words before and after "going" and save it in a hash. with 200 line program ,now,i am totally confusing and need help.:-( thank you.
In reply to find words around a word in a file. by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |