Config Variables

2005-03-03 Thread Brian Ingerson
Hi all, I'm hacking on pugs. I've added a Config.hs which is generated from the build system's perl's Config.pm. 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

Re: Config Variables

2005-03-03 Thread Larry Wall
On Thu, Mar 03, 2005 at 09:30:03AM -0800, Brian Ingerson wrote: : Hi all, : : I'm hacking on pugs. I've added a Config.hs which is generated from the : build system's perl's Config.pm. This allows me to expose the Perl6 magical : variable $?OS. : : There are a lot of other config values that

Re: Config Variables

2005-03-03 Thread Larry Wall
On Thu, Mar 03, 2005 at 11:25:04AM -0800, Larry Wall wrote: : Well, hey, we've said that any object can behave as a hash of its : public accessors, so it really don't matter which way they write it. I guess another practical difference is that if you say $*OSnonesuch you get an undefined

Re: Config Variables

2005-03-03 Thread Brian Ingerson
On 03/03/05 11:25 -0800, Larry Wall wrote: On Thu, Mar 03, 2005 at 09:30:03AM -0800, Brian Ingerson wrote: : Hi all, : : I'm hacking on pugs. I've added a Config.hs which is generated from the : build system's perl's Config.pm. This allows me to expose the Perl6 magical : variable $?OS. ...

Re: Config Variables

2005-03-03 Thread Larry Wall
On Thu, Mar 03, 2005 at 12:36:00PM -0800, Brian Ingerson wrote: : At first I was overwhelmed by your reply, but it's soaking in... :) Er, sorry. Sometimes I get so excited about the Promised Land that I forget we're still standing ankle deep in dying tube worms somewhere out in the middle of the

Re: Config Variables (TRIVIAL FLUFF POST)

2005-03-03 Thread David Storrs
On Thu, Mar 03, 2005 at 04:09:26PM -0800, Larry Wall wrote: On Thu, Mar 03, 2005 at 12:36:00PM -0800, Brian Ingerson wrote: : Thanks for the mind expanding reply. You're welcome. Next time don't eat blue sugar cubes from my frig. :-) I know what you're thinking. 'Why, oh why, didn't I