in reply to parsing html
regex modifier 's' should do the trick:
$line =~ /<td(.*?)>(.*?)<\/td>/s [download]
McA