your_method: { local $/ = 2; #open 'wide-chars-example.html', process the 'records' }