|
You would create the class for the "foo" command like this:
package My::Queue::Command::Property::Foo;
use base qw( My::Queue::Command::Property );
...and the class for the "bar" command (which you want to be a subcommand of "foo") like this:
package My::Queue::Command::Property::Bar;
use base qw( My::Queue::Command::Property::Foo );
Thus, the class hierarchy reflects the command/subcommand relationship. Again, it's about inheritance, not naming conventions. You're left in control of the naming decisions.
Thanks, glad you're enjoying CLIF! |