in reply to perlfunc index name conflict

BEGIN { delete $main::{index} }
will "unimport" index from main so you don't have to use CORE:: everywhere.