#!/usr/bin/perl -tw use strict; use warnings; require 5.008008; use Config::IniFiles; use LWP::UserAgent; my $ua = LWP::UserAgent->new; $ua->env_proxy; my $r = $ua->get('http://www.perlmonks.org'); # assuming the above works, once you've stepped on it running any debugger # command including h for help results in screens full of Insecure dependency # warnings and my code after that point does not work the same as when run # without the debugger. die "Failed to retrieve url, " . $r->status_line . "\n" if (!$r->is_success); print "hello\n";