Permalink
Browse files

lwp::useragent instead of lwp::simple

  • Loading branch information...
c9s committed Oct 31, 2009
1 parent f080564 commit aeb132cca5d93cf93e620b024b84a9fa060d1a01
Showing with 3 additions and 3 deletions.
  1. +1 −1 Makefile.PL
  2. +2 −2 lib/VIM/Packager/Installer.pm
View
@@ -16,7 +16,7 @@ requires(
'File::Path' => 2.07,
'File::Spec' => 3.3,
'Getopt::Long' => 2.38,
- 'LWP::Simple' => 0,
+ 'LWP::UserAgent' => 0,
'YAML' => 0.70,
);
@@ -39,7 +39,7 @@ sub install_deps {
our $VERBOSE = $ENV{VERBOSE} ? 1 : 0;
-use LWP::Simple ();
+use LWP::UserAgent;
sub install_deps_remote {
my $package_name = shift @ARGV;
my %install = @ARGV;
@@ -127,7 +127,7 @@ sub install_deps_remote {
sub prompt_for_different {
my $target = shift;
-
+ print "Can not find your installed script version. instead , we found the installed script.\n";
print "Your installed $target is different from which you just downloaded.\n";
print "(Replace / Diff / Merge / Skip) it ? (r/d/m/s) ";
my $ans = <STDIN>;

0 comments on commit aeb132c

Please sign in to comment.