in reply to type glob problem

you need to use references, see print shift; for clues