For the generated XSLoader.pm, avoid a runtime lexical which is constant.
authorNicholas Clark <nick@ccl4.org>
Thu, 2 Sep 2010 10:44:51 +0000 (11:44 +0100)
committerNicholas Clark <nick@ccl4.org>
Thu, 2 Sep 2010 10:44:51 +0000 (11:44 +0100)
commitf4b4ed7b4eca79b25054dfeafa0aac0dbd41a507
treed8761e2885f7698b08700ab5c310f7b788baa061
parentf3a0defb95e2da85126a0bd17bf5d67899fff9b3
For the generated XSLoader.pm, avoid a runtime lexical which is constant.

XSLoader_pm.PL had been resolving $Config::Config{dlext}, and writing it as
the constant initialiser for a lexical variable in XSLoader.pm. In turn,
that lexical was used only once, in string interpolation. So the interpolation
can be done instead at build time.
dist/XSLoader/XSLoader_pm.PL