sub foo { # no prototype here return ('a','b','c'); } # print (foo)[0]; # same error print +(foo)[0];