Posted on 2012-01-19 19:00:21.675004-08 by kerisman in response to 13606
Re: sub command dispatching confusion
It's based on inheritance. My::Queue::Command::Property::List and My::Queue::Command::Property::Set both inherit from My::Queue::Command::Property, so CLIF knows they're subcommands. CLIF reads the symbol table to find this information. It has nothing to do with class names (the names line up in the example only because common class naming convention is being followed).
Direct Responses: 13613 | Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.