-
Notifications
You must be signed in to change notification settings - Fork 437
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[backend] Modernize bs_check_consistency
* Add warnings, strict * Add Getopt::Long usage to avoid parsing params manually. The feature for multiple params 'foo=s{2}' has been added in version 2.35. Despite still being described as experimental, 2.35 was released in 2005. So I think it's safe to use it. * use FindBin for getting the current script path (better to read and portabale) * use a here-doc for the usage() sub (more readable) * exit() directly in usage() (less code) * Fix several warnings
- Loading branch information
Showing
1 changed file
with
88 additions
and
98 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