Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
How to write an efficient Perl script to return the balance change of the string?
Balance Change:
Before:
Later:
'abc abc abc <i>abc abc</i> abc <i>abc abc <b>abc <b>abc abc</b> abc</b> abc</i> abc.'
Tanks;
Balance Change:
Before:
'abc abc abc \textit{abc abc} abc \textit{abc abc \textbf{abc \textbf{ +abc abc} abc} abc} abc.'<br>
Later:
'abc abc abc <i>abc abc</i> abc <i>abc abc <b>abc <b>abc abc</b> abc</b> abc</i> abc.'
Tanks;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Balance Change
by Mago (Parson) on Feb 08, 2006 at 16:47 UTC | |
by MCS (Monk) on Feb 08, 2006 at 18:02 UTC | |
by Roy Johnson (Monsignor) on Feb 08, 2006 at 18:34 UTC | |
by MCS (Monk) on Feb 08, 2006 at 19:30 UTC | |
by Mago (Parson) on Feb 08, 2006 at 18:38 UTC |
Back to
Seekers of Perl Wisdom