Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

lwp::useragent instead of lwp::simple

  • Loading branch information...
commit aeb132cca5d93cf93e620b024b84a9fa060d1a01 1 parent f080564
@c9s c9s authored
Showing with 3 additions and 3 deletions.
  1. +1 −1  Makefile.PL
  2. +2 −2 lib/VIM/Packager/Installer.pm
View
2  Makefile.PL
@@ -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,
);
View
4 lib/VIM/Packager/Installer.pm
@@ -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>;
Please sign in to comment.
Something went wrong with that request. Please try again.