in reply to Re^2: how to split string(many words in one line) in a word?
in thread how to split string(many words in one line) in a word?

The OP asked: "if i want to get a seperate word from tht how will i do that? ". BrowserUKs answer does what he/she asked for. The concatenation of the words is an artefact of the print output used to demonstrate that it works, rather than the operation the OP was asking about.

--------------------------------------------------------------

$perlquestion=~s/Can I/How do I/g;