develooper Front page | perl.perl6.language | Postings from March 2005

Config Variables

Thread Next
Brian Ingerson
March 3, 2005 09:30
Config Variables
Message ID:
Hi all,

I'm hacking on pugs. I've added a Config.hs which is generated from the
build system's perl's This allows me to expose the Perl6 magical
variable $?OS.

There are a lot of other config values that seem like they don't really need
their own global. Things like 'privlib' and 'installsitearch'.

How about a config hash %?CONFIG for these.


Or would %*CONFIG be better?

Cheers, Brian

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About