http://www.perlmonks.org?node_id=975039


in reply to Re: Parsing HTML
in thread Parsing HTML

"<span>... </span> tags without attributes amount to no-ops."

Not in this case - the page in question is using them to add line breaks within paragraphs. Something along the lines of:

p.itinerari-info span { display: block }
perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'