Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
It would be bit faster #3
I think this diff is useful for speed. But It will bit change a behavior.
Before we get package name 'Bar' from below file(included 2 package names).
After merged this p-r, we get package name 'Foo'.
Anyway, we expect to get 'Foo'.
Hmmm, I do not like the idea of changing the behaviour, but I do like the idea of faster. Module::Info::File provides all packages in a file, so the behaviour is sort of important, where as what you propose, actually does information hiding, which I am not sure is a good idea in this case - what do you think?
We get 'Bar' as package name.
Below normal case that with VERSION line, then the behaviour is same.
I think the first case(without VERSION) is very rare.