typedef struct { float x; float y; float z; } vec3d; #### vec3d vertices[20]; #### my %vert = ( 'x' => undef, # placeholder 'y' => undef, 'z' => undef, );