domm/Module-ExtractUse — pull request #2 by barbie (2012-08-11 07:45:56+00:00)
Title: Whitespace is valid

A few of my modules have been failing on CPANTS due to odd "(eval?)" errors. It turns out that because I use whitespace within my quoting, e.g. "use base qw( Data::Phrasebook::Loader::Base Data::Phrasebook::Debug );", the extra whitespace is flagged as an extra use call.

The patch is to split on all whitespace, and don't add to the list unless we actually have content.