This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Refactor xs_version_bootcheck() to remove complex constructions.
authorNicholas Clark <nick@ccl4.org>
Fri, 8 Oct 2010 13:59:10 +0000 (14:59 +0100)
committerNicholas Clark <nick@ccl4.org>
Fri, 8 Oct 2010 15:58:10 +0000 (16:58 +0100)
commita2f871a29d6365cd9bb6b78aff1e44658f81cc1b
treedcc5ed70795b881e164d401bddd520307bb384ee
parentf9cc56fa8caacd402d316a1cd95160cd70fb4c9e
Refactor xs_version_bootcheck() to remove complex constructions.

Replace complex format strings ternary conditionals with an if/else block.
Avoid assignment within expressions. Directly use the SV for the module's name,
rather than converting it to a char *.
util.c