Subject: | use of Getopt::Long in Build.PL breaks args passed to Build.PL |
If you make this change to Build.PL, arguements to Build.PL will work.
-use Getopt::Long;
+use Getopt::Long qw( GetOptions :config pass_through );
This was a problem when I was calling:
perl Build.PL --destdir=/tmp/foo --installdirs=vendor
Destdir was being ignored because of Getopt::Long corruption.