in reply to GLOB reference problem

You can create a glob reference with the function gensym from Symbol like Net::FTP does (you can see that if you follow the chain of inheritance of the new() function in Net::FTP)