The indexer looks for package Foo::Bar and then checks whether you (or anyone else) has an indexing permission on that package. And if no-one does, then you get first-come.
The new class feature introduces the class Foo::Bar syntax, and in code using this there is no package statement to spot.
In code which has use feature 'class' or use Feature::Compat::Class, then PAUSE should parse the class syntax. But maybe there are other modules which introduced class syntax but don't imply package?
This seems like a good topic for discussion at PTS 2024.
The indexer looks for
package Foo::Bar
and then checks whether you (or anyone else) has an indexing permission on that package. And if no-one does, then you get first-come.The new
class
feature introduces theclass Foo::Bar
syntax, and in code using this there is nopackage
statement to spot.In code which has
use feature 'class'
oruse Feature::Compat::Class
, then PAUSE should parse the class syntax. But maybe there are other modules which introducedclass
syntax but don't imply package?This seems like a good topic for discussion at PTS 2024.