Re: The Env::C namespace

2002-08-22 Thread Graham Barr
On Thu, Aug 22, 2002 at 06:56:08PM +0800, Stas Bekman wrote: > Arthur Bergman wrote: > > > > On torsdag, augusti 22, 2002, at 10:12 , Stas Bekman wrote: > > > >> > >> Do what? Set env vars? Of course it should... if it's safe. But as you > >> can see from the recent mod_perl thread about Oracle

Re: The Env::C namespace

2002-08-22 Thread Stas Bekman
Arthur Bergman wrote: > > On torsdag, augusti 22, 2002, at 10:12 , Stas Bekman wrote: > >> >> Do what? Set env vars? Of course it should... if it's safe. But as you >> can see from the recent mod_perl thread about Oracle DBD not working >> with mod_perl 2.0 when %ENV was set in the registry sc

Re: The Env::C namespace

2002-08-22 Thread Arthur Bergman
On torsdag, augusti 22, 2002, at 10:12 , Stas Bekman wrote: > > Do what? Set env vars? Of course it should... if it's safe. But as you > can see from the recent mod_perl thread about Oracle DBD not working > with mod_perl 2.0 when %ENV was set in the registry script, since %ENV > isn't tied t

Re: The Env::C namespace

2002-08-22 Thread Stas Bekman
Arthur Bergman wrote: > > On torsdag, augusti 22, 2002, at 05:40 , Stas Bekman wrote: > >> >> Sometimes Perl invokes modules with underlaying C APIs which rely on >> certain environment variables to be set, if these variables are >> set in >> Perl and the glue code doesn't worry to

Re: The Env::C namespace

2002-08-22 Thread Arthur Bergman
On torsdag, augusti 22, 2002, at 05:40 , Stas Bekman wrote: > > Sometimes Perl invokes modules with underlaying C APIs which rely on > certain environment variables to be set, if these variables are set > in > Perl and the glue code doesn't worry to set them on the C level, > these

The Env::C namespace

2002-08-21 Thread Stas Bekman
Hi, Should Env::C be a good name for a Perl glue to getenv(3), setenv(3) and unsetenv(3)? Thanks! Here is the whole manpage: NAME Env::C - Get/Set/Unset Environment Variables on the C level SYNOPSIS use Env::C; my $key = "USER"; $val = Env::C::getenv($key) || '';