more useful options | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
For a start, you might want to use split ( split ) to break up $trip into its elements. But your recent sample-output-desired post involves additional data (for example, "Trip Name"...) which I ignored in checking the original .html. Therefore (among other reasons), I'm not sure that
/<\/span>\n<span>/ is an appropriate pattern for split. Even if so, you'll still have to hard-code some punctuation (such as the colons in the subheads) and, perhaps, the newlines. The previous newline suggestion was based on the output you showed with multiple itineraries as a single line. In reply to Re^3: Parsing HTML
by ww
|
|