CC: | yoheimuta [...] gmail.com |
Subject: | [Proposal] Avoid to destroy some data of a CLI::Dispatch::Command's child class |
We created a child class based CLI::Dispatch::Command according to README instructions. And this child class implemented a new subroutine and set instance variables in it. But the variables are invalid in run method because CLI::Dispatch::Command's set_options method runs `%{ $self } = @_;`.
We want to keep the child instance variables.
I write a proposal commit.
See https://github.com/yoheimuta/CLI-Dispatch-tmp/commit/c0117d203e0e1b58722a620ce2138568485be436, sorry for uploading to github without your permission...
We appreciate this useful module.
Thanks.