http://qs321.pair.com?node_id=11137036

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:
Integer. 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';
Right now I'm capturing the three variables I need using index & substr a bunch but was hoping for a cleaner, more perlish solution. TIA