develooper Front page | perl.perl5.porters | Postings from January 2006

Re: [PATCH] Re: replacing "inuse" Win files (was Re: Help with a Cwd.pm build error)

From:
demerphq
Date:
January 31, 2006 07:17
Subject:
Re: [PATCH] Re: replacing "inuse" Win files (was Re: Help with a Cwd.pm build error)
Message ID:
9b18b3110601310716s42c69608j88c4e3d27830dea7@mail.gmail.com
On 1/31/06, Reini Urban <rurban@x-ray.at> wrote:
> 2006/1/31, demerphq <demerphq@gmail.com>:
> > IMO we should be bundling some of the base modules from the libwin
> > distro in core. Win32API::File being one of them, along with
> > Win32API::Registry and Win32::TieRegistry, Win32::IPC, Win32::EventLog
> > (the latter becuae we bundle *NIX specific counterparts so why should
> > Win32 be left out?)
>
> Ok for all (esp. Win32API:: and IPC).
> But not Win32::TieRegistry please!
> This is very high-level and pollutes the namespace with a magic global.

Only if you dont tell it to do otherwise. See the TiedRef parameter.

And personally I think high-level in this area is a good idea.

Are you really going to say that youd prefer to use Win32API::Registry
instead of Win32::TieRegistry (which is as you said a wrapper around
Win32API::Registry)

Cheers,
yves



--
perl -Mre=debug -e "/just|another|perl|hacker/"



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About