in reply to type glob problem

You can pass in an ordinary reference to a subroutine expecting a type glob, and it will work fine.