[EMAIL PROTECTED] writes:
> Charles Lane wrote:
....re: $Config{'extensions'}  File/Glob vs. File::Glob

>> Included is is a patch to CONFIGURE.COM, to SUBCONFIGURE.COM for
>> the "canonical" BUILD_EXT.COM, and a patch to t/lib/glob-basic.t
>
> This is great work Charles.  But I wonder if this may be the wrong
> approach.  Isn't it nice to have "File::Glob" in `perl "=V:extensions"`?
...
> That is, perhaps we should convince the Unix perl folks that their
> $Config{extensions} is wrong to use '/' in place of '::' and that perhaps
> they ought to map it to '::'.  Perhaps in the meantime we ought to do
> something like this:

Well, *I* certainly prefer the :: form, but by a tiny margin.  Beats
the hell out of me why it was changed (or maybe it was always that way
and us VMSers were always incompatible, but we just now noticed).  The
earliest version that I have sitting around with $Config{extensions}
is 5.005.56, and it has the "::" form.

That said, *whatever* the separator is I'd think we should stick with
a single platform-independant standard...it's simple enough to do
s#::#/#g; (or s#/#::#g) when you're building Perl and writing the
$Config{extensions} string; it's much more of a pain to get a zillion
module authors on the same wavelength.

I don't recall any discussion on P5P about this...makes me wonder if there
really was a deliberate decision.

> I am not too attached to either approach and I do realize that my reply to you
> might have inspired you to take the approach you did.

Well, it was either a choice of "patch these module tests" or "patch
VMS build code"...making the module tests incompatible with the rest
of the Perl world wasn't going to work, so so it seemed best to get
with the standard.

> What do you think about changing the regular expression?

It just puts off the day of reckoning ;)

>From what I can see, $Config{extensions} is relatively new, but I would
be willing to bet that it will be used more and more heavily as people
try and get better integration of modules in Perl.  So maybe we patch
the [.lib]glob-*.t tests today, but we'll be patching ad infinitum
unless we can get the rest of the Perl community to switch to "::".

I think it's unlikely to change, but if you want to argue it on p5p you've
got my support.

Reply via email to