Think about Loose Coupling | |
PerlMonks |
Re: Simple line parse questionby nvivek (Vicar) |
on Aug 07, 2010 at 04:28 UTC ( [id://853516]=note: print w/replies, xml ) | Need Help?? |
Yeah,you could do with split and join but it needs two functions.Instead, you can use the simple regular expression to achieve it.You check the following code.I have taken the space as a delimiter between each word in the string.
In Section
Seekers of Perl Wisdom
|
|