Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Parsing a HTML page I have the contents of a set of paragraphs, the general form:
Right now I'm capturing the three variables I need using index & substr a bunch but was hoping for a cleaner, more perlish solution. TIAInteger. Text - or – more text e.g. 123. The quick brown fox - Jumps over the 123. The quick brown fox – Jumps over the 456. The lazy dog - Barked & wagged results $num = 123; $text1 = 'The quick brown fox'; $text2 = 'Jumps over the';
Back to
Seekers of Perl Wisdom