On Thu, Dec 04, 2003 at 12:40:05AM -0500, [EMAIL PROTECTED] wrote: > 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/; > > 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.
Either the perlmod man page or perhaps someone needs to start Module::FAQ/perlmodfaq. I like Module::FAQ over perlmodfaq because then we don't have to wait for a new version of Perl to get updates. -- Michael G Schwern [EMAIL PROTECTED] http://www.pobox.com/~schwern/ Do not try comedy at home! Milk & Cheese are advanced experts! Attempts at comedy can be dangerously unfunny!
