in reply to Re: Appropriate use of typeglob
in thread Appropriate use of typeglob
Okay I will answer your questions, but first I will say, in the way you responded to mine, you have answered it. I was trying to find out if typeglobs were 'evil' and I think you pretty much summed up in few words that they are.
1.You are right, it wasn't doing any good in my example. The intention was to use it in pulling in a config with about 100 variables I though it might be helpful.
2.I didn't intend to make use of the passed parameter in the subroutines yet, it was just a test.
3.I wasn't trying to pass with the typeglob because I thought it was 'cool' I was honestly trying to solve a problem, the problem being passing several variables to a subroutine easily.
4.Also I did follow your suggestion and deleted the useless *$ param and indeed you were correct it still generated the same ouput. Is that not how I would pass the typeglob?
You absolutely did answer my question, I will steer clear of the evil typeglob from this point on.
Thanks so much for the quick and direct response !
-Aseidas