The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.


Dist::Zilla::Plugin::MakeMaker::Highlander - There can be only one


version 0.004


    # in dist.ini, *after* other MakeMaker plugins


The vast majority of distributions do not need this and should not use it. It is intended for distributions that are bundled with ExtUtils::MakeMaker in order to bootstrap it.

This plugin sets the UNINST attribute to 1, to ensure that any other copies of the module files are removed from @INC. It only runs on Perls before v5.12 when @INC was reordered, and only if there appears to be no use of INSTALL_BASE or PREFIX.

This will result in warnings from old ExtUtils::MakeMaker, but appears to work nonetheless.

If a build system already accounts for ExtUtils::MakeMaker's pathological bundling and UNINST = 1 causes problems, the PERL_NO_HIGHLANDER environment variable may be set to a true value.


Bugs / Feature Requests

Please report any bugs or feature requests through the issue tracker at You will be notified automatically of any progress on your issue.

Source Code

This is open source software. The code repository is available for public review and contribution under the terms of the license.

  git clone


David Golden <>


  • David Golden <>

  • Karen Etheridge <>


This software is Copyright (c) 2013 by David Golden.

This is free software, licensed under:

  The Apache License, Version 2.0, January 2004