Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove mysterious comments and describe the real problem in Changes
The earlier change from "use lib" to "BEGIN { unshift @inc, … }" was meant to solve #462. Alas, "use lib" cleverly adds more directories to @inc than requested: here it added the core lib directory before site_perl, making newer versions of dual-life modules invisible. The purpose of the FindBin and "use lib" was to allow the script to find the modules that it was distributed with (script/my_app → lib/MyApp.pm), but the comment made it seem that the FindBin+BEGIN were needed to make dual-life modules work. Without comment, the code is unremarkable and easy to understand.
- Loading branch information
Showing
7 changed files
with
2 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters