Not this:
use URI::URL; [download]
This instead:
use URI::URL (); [download]
In reply to Re^3: Resolving Prototype mismatch by tobyink in thread Resolving Prototype mismatch by marky1124