Based on the error, it sounds like you're typing that into a Windows/DOS command prompt. The issue you're having isn't Perl related, it's the DOS command prompt. Try putting it in quotes, like:
C:\>perl "http://sampleurl.sample.com/[omitted for brevity]"