good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Add Quotes to entries in a fileby johngg (Canon) |
on Jul 12, 2018 at 18:05 UTC ( [id://1218397]=note: print w/replies, xml ) | Need Help?? |
A solution using split, a single substitution on an array slice then a join.
I hope this is of interest. Cheers, JohnGG
In Section
Seekers of Perl Wisdom
|
|