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


in reply to Re^2: (2) Resolve list of DNS names (reverse lookup, CPAN modules)
in thread (code) Resolve list of DNS names

I suspect you copy&pasted from the displayed version, where some long lines are broken up with a +. Try clicking on the "Download Code" link and copy what that gives you instead.