run() takes arguments, but it was ignoring them in favor of @ARGV. Since cpan(1) called run(@ARGV), I missed the problem. Now, assign the arguments to a localized @ARGV. This allows other applications to call App::Cpan->run() with whatever arguments it likes; that was always my intent.
run()
takes arguments, but it was ignoring them in favor of@ARGV
. Since cpan(1) calledrun(@ARGV)
, I missed the problem. Now, assign the arguments to a localized@ARGV
. This allows other applications to callApp::Cpan->run()
with whatever arguments it likes; that was always my intent.