in reply to Formatting data as HTML to get the same appearance as mysql select return

For
$blah{one}=~s/a/b/g; $blah{two}=~s/a/b/g;
I'd suggest
s/a/b/g foreach @blah{'one', 'two'} ;

andy.