pavan474 has asked for the wisdom of the Perl Monks concerning the following question:
I am new working with PERL. I have a requirement where i have a string having double quotes where it will be open but not closed i.e.,
$string = '"testing the data available';I need to format the string in such a way that it shoul look like
$string = '"testing the data available"';can you please suggest me rather than looping through each word in the string and update the closing string.
Thanks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Formatting quotes in a String
by choroba (Cardinal) on Nov 30, 2016 at 13:56 UTC | |
by pavan474 (Novice) on Dec 01, 2016 at 07:26 UTC | |
by Laurent_R (Canon) on Dec 01, 2016 at 10:13 UTC | |
by pavan474 (Novice) on Dec 02, 2016 at 12:07 UTC | |
by perldigious (Priest) on Dec 01, 2016 at 14:18 UTC | |
|
Re: Formatting quotes in a String
by hippo (Archbishop) on Nov 30, 2016 at 13:52 UTC | |
|
Re: Formatting quotes in a String
by perldigious (Priest) on Nov 30, 2016 at 13:54 UTC | |
|
Re: Formatting quotes in a String
by kennethk (Abbot) on Nov 30, 2016 at 17:28 UTC | |
by pavan474 (Novice) on Dec 01, 2016 at 07:30 UTC |