Andrew Savige replied to me offlist with a good solution. Taking a hint from lib/Net/Config.pm
my $file = __FILE__; my $ref; $file =~ s/Config.pm/libnet.cfg/;
That is definately a more elegant solution. I only have two problems with it:
1) I did not think of it. ;) I let myself get boxed in by the question. (Must think outside the box. Time for another read of "Conceptual Blockbusting" <http://www.amazon.com/exec/obidos/ASIN/0738205370/>).
2) The purpose of a Mailing List is NOT for people to post questions and get answers. The purpose of a Mailing List is for people to post questions and *everyone* to learn from the answers. --Andrew, please share with all of us next time. =)
Regards, Randy.
Thank you all for your help!
This may be a good question to stick in a FAQ or some documentation somewhere. This solution isn't specific to MakeMaker, and I can't say if MakeMaker is the right place for this question, but the MakeMaker docs were the first place I looked to find this answer, so who knows.
Thanks again, -- Josh I.
