I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2012-01-22 16:04:11.412584-08 by kerisman in response to 13613
Re: sub command dispatching confusion
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!
Direct Responses: 13616 | Write a response