summaryrefslogtreecommitdiffstats
path: root/t/Monitoring-Plugin-Getopt-03.t
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-12-16 13:25:34 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-12-16 13:25:34 +1300
commitc3f2a7cd7313868166ba205e9eff2b8be6a36ea4 (patch)
tree018986888d2b8bee072c0341c62f126c5aa860f0 /t/Monitoring-Plugin-Getopt-03.t
parent40d5fbea30c310004233ef4cd3e570c351c54233 (diff)
downloadmonitoring-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 't/Monitoring-Plugin-Getopt-03.t')
0 files changed, 0 insertions, 0 deletions