Re: [MacPerl-Porters] [PROPOSED PATCHES] lib.pm/lib.t
[email protected] (Peter Prymmer) Mon, 10 Jun 2002 12:46:19 +0000 (GMT)
| Newsgroups | perl.macperl.porters |
|---|---|
| Message-ID | <[email protected]> |
On Fri, 31 May 2002, Thomas Wegner wrote:
> Good morning,
>
> here are (proposed) patches for lib.t and lib_pm.PL. To apply or not
> to apply, that's the question here :-).
> Do VMS et al. allow native paths in @INC? I don't know, but I hope so.
Apologies for not having seen this earlier (I've been away from this
account). To answer the question: yes VMS does allow, and in fact a
default Configure -des build puts, mixed directories into @INC. That said
the VMS native dirs are typically repeats of the /unix/style/ones and are
of little practical use because from C it is possible to fopen() or stat()
a path that is either:
VMS_STYLE:[PATH.SUBDIR]MODULE.PM
or:
/unix_style[atj/subdir/module.pm
But it is not possible to stat() or fopen() a file that is:
MIXED_STYLE:[COMBO]subdir/both.pm
and errors in loading will crop up.
Peter Prymmer