Re: [MacPerl-Porters] Config.pm

[email protected] (Chris Nandor)
Newsgroups perl.macperl.porters
Message-ID <p05100305b7f0f7874a43@[10.0.1.177]>
At 19:23 -0700 2001.10.10, Peter Prymmer wrote:
>On Sat, 6 Oct 2001, Chris Nandor wrote:
>
>> At 22:52 +0200 2001.10.06, Andreas Marcel Riechert wrote:
>> >Because I did not see Config.pm mentioned in the
>> >bug, feature-request and task list, just a quick
>> >question: Can we expect some change in Config.h
>> >and therefore Config.pm.
>> >
>> >For example at the moment I got:
>> >   osname='MacOS'
>> >   osvers='9.1'
>> >   cc=''
>> >
>> >in Config.pm.
>> >
>> >My built was on 9.0.4 with MrC/SC.
>> >Thinking about cpan-testers, future bug reports,
>> >modules who need some config information etc. pp
>> >it would be nice e.g if "osvers" and "cc" and other
>> >keys would be populated  with the right values.
>>
>> Probably.  Low priority, though, so patches welcome.  :-)  Here's something
>> to get you started:
>>
>>   #!perl
>>   use Mac::Gestalt;
>>   my $version = join '.', split //, sprintf "%x",
>>     $Gestalt{gestaltSystemVersion()};
>
>Yet another need for Configre.MPW eh?  I have BTW moved recently and hope
>to settle down to some "soonish".

Great, we'd love to have your help again.  :-)

In this case, I think actually that Mac::Gestalt won't help, since it is
not available when Config.pm is built.  However, we have MPW!  `gestalt
sysv` gives you the OS version.

-- 
Chris Nandor                      [email protected]    http://pudge.net/
Open Source Development Network    [email protected]     http://osdn.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.