Re: [MacPerl-Porters] Config.pm
[email protected] (Chris Nandor)
| Newsgroups | perl.macperl.porters |
|---|---|
| Message-ID | <p05100302b7e52058b8a2@[10.0.1.177]> |
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()};
--
Chris Nandor [email protected] http://pudge.net/
Open Source Development Network [email protected] http://osdn.com/