diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-12-16 13:25:34 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-12-16 13:25:34 +1300 |
commit | c3f2a7cd7313868166ba205e9eff2b8be6a36ea4 (patch) | |
tree | 018986888d2b8bee072c0341c62f126c5aa860f0 /Changes | |
parent | 40d5fbea30c310004233ef4cd3e570c351c54233 (diff) | |
download | monitoring-plugin-perl-c3f2a7cd7313868166ba205e9eff2b8be6a36ea4.tar.gz |
Refactor positional arg parsing for Getopt::arg()
Define the expected order of parameters by key in an array, and then
apply hash slices to validate and assign the arguments including their
required flags in one swoop, again hinging on the parameter definitions
established in c1046ba.
Diffstat (limited to 'Changes')
0 files changed, 0 insertions, 0 deletions