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-20 11:00:05.81278-08 by wsppan in response to 13610
Re: sub command dispatching confusion
Sorry for being so dense but how does it know that the words used for the commands ('list' and 'set') map to the correct subcommand class.
In other words, if I create the command line app to run like:

bash$ examples/queue --qin=/tmp/qfile --qout=/tmp/qfile property foo

And I create a class that inherits from My::Queue::Command::Property called My::Queue::Command::Property::Bar that I want to be used for the subcommand 'foo'.

How does the app know that 'foo' maps to 'My::Queue::Command::Property::Bar' without a subcommand dispatch table?

Thanks again for your help. Your framework is very elegant and well thought out.
Direct Responses: 13614 | Write a response