in reply to perl index function error when "use PDL"

my $pos4 = CORE::index($test,"test");