Subject: | Unexpected behaviour with 5.14 style package declarations. |
Perl 5.14 introduces a new Package specification which currently renders confusing behaviour with this module.
"On failure it returns nothing, but you have to check with error to see if that is really an error or a file with no namespaces in it."
Sadly, this module produces neither nothing ( it returns a list with 1 item being 'undef' ) or produces an error in this scenario.
( Module::Extract::VERSION likely has a similar problem, but I haven't crossed that bridge yet )
I have a test in my github fork that replicates the situation I am seeing, and hopefully it is useful to you.
Thanks.
"On failure it returns nothing, but you have to check with error to see if that is really an error or a file with no namespaces in it."
Sadly, this module produces neither nothing ( it returns a list with 1 item being 'undef' ) or produces an error in this scenario.
( Module::Extract::VERSION likely has a similar problem, but I haven't crossed that bridge yet )
I have a test in my github fork that replicates the situation I am seeing, and hopefully it is useful to you.
Thanks.