rajkrishna89 has asked for the wisdom of the Perl Monks concerning the following question:
Hi monks , is there any way to split a word in a .txt file based on a condition ..for eg consider a line
perl monks wisdom monks perl wisdom
I want the above lines to be splitted as follows:-
perl monks wisdom monks perl wisdom
I want the words prefix or suffix of the "monks" to be printed in a new line..i tried something but i cant get the idea to implement it..Thanks Monks
Back to
Seekers of Perl Wisdom