Good point. I was thinking of the general case when the module name is in a scalar. But I couldn't come up with a good example of that for the first example. Of course, you can try converting "::"s to the appropriate directory separators and adding on ".pm", put I think porting that to VMS would be some work (I'd probably pull in parts of MakeMaker).
But for the example I came up with, your solution is superior.
In reply to RE: RE: Re: Stupid OO question
by tye
in thread Stupid OO question
by lindex
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |