perlpunk / App-Spec-p5

Writing command line apps made easy
Other
23 stars 9 forks source link

Maybe regression: the 'class' slot of the spec is now required #20

Open dakkar opened 5 years ago

dakkar commented 5 years ago

Before 0.005, it was possible to ignore the class slot of the spec, as long as a pre-built object was set in App::Spec::Run::cmd. Now, op method names are assumed to be fully-qualified, and if not, they're prefixed with the class. I'm not sure why this is.

perlpunk commented 5 years ago

Ok, I had a quick look into the code handling the classname, it looks broken. I'll have a look, but I can't promise a fix for the next major release, because I want to get a release out tomorrow with my recent fixes. Thanks for the report =)