in reply to Re^2: Package Variables
in thread Package Variables

Why didn't perl warn me that I was stepping on a built in package of core significance?
That would make a good Perl::Critic policy. There is already Perl::Critic::Policy::Subroutines::ProhibitBuiltinHomonyms. I wonder how tough it would be to create a policy to look for Core module names.

Update: on second thought, this would not be possible. I think the only thing that can be done is use something like findpm to search for duplicate modules in @INC.