Hello & Thank You for using my module.
I've looked at the code & you are correct about the problems with the "help" checks in the 2 'x' functions. They were performed incorrectly with regard to using the OverrideHELP=>1 option after it was introduced to my module in v0.16. This will be corrected in the next release of my module.
But setting OverrideHELP=>0 in new() doesn't cause any problems. It works as desired. So there is no bug there. After it's been set, all calls to supported() always returns false as expected. There was just no need for extra logic beyond the "defined" test you mentioned. It just silently morphed into a OverrideHELP=>\@array call, where @array represented an empty array without any members.
Curtis
On Tue Mar 10 15:21:15 2015, BBYRD wrote:
Show quoted text> Setting OverrideHELP doesn't do anything to xput/xtransfer's $help
> checks. This is because it's checking the $help hash directly,
> instead of using $self->supported. Either that or _help should
> populate the hash with every known command if OverrideHELP was set to
> 1.
>
> Furthermore, the OverrideHELP check in new uses defined, so
> OverrideHELP => 0 doesn't work too well.