664, 668 - Getopt::Long

Andy Armstrong n at rciss.us
Thu Oct 4 21:22:48 BST 2007


On 4 Oct 2007, at 21:15, Eric Wilhelm wrote:
> Forget that I ever said "plugins".  Just tell me why we want to  
> have to
> keep in mind that Getopt::Long breaks error handling and what  
> justifies
> App::Prove calling exit() because of it.

I've just noticed this:

             (     App::Prove::Plugins->can('switches')
                 ? App::Prove::Plugins->switches
                 : ()
             ),

and it's making it difficult to forget that you said "plugins" :)

We have three sub refs in the options hash. None of them need to be  
there - that code can easily be refactored to avoid them. We're not -  
as far as I know - planning to add more. We don't have any more of  
problem with Getopt::Long than anyone else who uses it does. Ergo we  
don't need to fix it.

-- 
Andy Armstrong, Hexten





More information about the tapx-dev mailing list