forked from Perl-Toolchain-Gang/ExtUtils-CBuilder
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Assign to intermediate variable rather than to sub's argument.
Within a subroutine, assigning to a hash passed to that sub as an argument is a recipe for confusion. In compile(), create an intermediate variable for clearer handling of the object file. Use a ternary rather than an if-else, for terser code. Restore use of arg_object_file() now that we have debugged.
- Loading branch information
Showing
1 changed file
with
13 additions
and
18 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