http://www.perlmonks.org?node_id=995277


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.