-----BEGIN PGP SIGNED MESSAGE-----
Moin,
On 20-Nov-01 Bart Lateur tried to scribble about:
> On Mon, 19 Nov 2001 22:36:45 +0100 (CET), Tels wrote:
>
>>> sub canonpath {
>>> return File::Spec->canonpath($_[1]);
>>> }
>>
>>I'd written return File::Spec->canonpath(@_); just in case ;)
>
> That ain't right. You'll get an extra argument in front (the class
> name).
My mistake.
> Is there a reason for not using the @ISA inheritance mechanism?
Uhm, I didn't think of that.
Anyway, seeing that the $MM->foo() calls get replaced by File::Spec calls
in MakeMaker, I hope that we can scrap these routines completely.
Beside, MM_Unix.pm implements them all, and MM_VMS.pm, which should
override them, already uses File::Spec? Huh?
And then there is the fact the MM_Unix is for Unix, and VMS for the VMS
stuff, but MM_Unix does some $^O checking and then handles quite a lot of
OS/2, DOS, VMS etc cases by itself? And then MM_VMS.pm handles only, uh
well, the, really VMS specific code?
Basically, it is a mess.
I start by providing tests and letting MM_Unix.pm use File::Spec, then we
see about the rest.
Cheers,
Tels
- --
perl -MDev::Bollocks -e'print Dev::Bollocks->rand(),"\n"'
vitalistically market advanced networks
http://bloodgate.com/perl My current Perl projects
PGP key available on http://bloodgate.com/tels.asc or via email
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: latin1
iQEVAwUBO/qKwHcLPEOTuEwVAQH18Qf6ArC69cO7JHkn8v3W0Bnp1sg7yTJXPujV
GlIPNvFZOIzJ+qNb77KGvK/BMs4pc/n62iPt4AztPFFDD2VDcjBOdlxNSsz1VRfG
xlAjWBLoPlhJg3yMZ13WosTi6R5LubUcIyj7h8nnsBFfcvmo/zrrROuTEmLlB77J
V/Ijx8dGIKLR4AzD2DurDuOM0gDzpSylE6ipVukKrZE28xMb/C9IQAJMzieQG9Bm
kJ+j7cPFXy+n2UP3usjxMTBVPkNRv1OJ84HYEUzlspdt8K0WdDBXSWAjMgjivSZz
HgkKCWMBYX/SRnt6F7yoUkKg44zmyPUp0JE7dFLG5MRm331Ks6renw==
=xasx
-----END PGP SIGNATURE-----