I used this mechanism once before. In my case, I "let" my program run enough to completely initialize, then exit 0; when the special "being scanned" parameter was supplied.
Beyond pointing out this feature, I'm afraid my best advice would be to ask on Moose's forum (if it has one).
In reply to Re^3: Module::ScanDeps interaction with Moose::
by RonW
in thread Module::ScanDeps interaction with Moose::
by xlr82xs
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |