On Fri, Jul 15, 2005 at 05:41:55PM -0400, John Malmberg wrote:
> >Long story short:  MM_VMS' versions are the real ones.  File::Spec's are
> >vestigal.
> 
> Unfortunately my testing shows that the File::Spec's ones are used all 
> the time, unless they are called by MakeMaker which overrides them, and 
> they do make changes to the pathnames that they are processing that 
> catdir() and catfile() seem to depend on.

They have little or no effect outside of MakeMaker because they need a
MakeMaker object to act on.  For example, the while loop in 
eliminate_macros() never does anything because there's never anything in
$self.  $self->{$2} can never be true.

fixpath() may have some effect when called as a class method.  I've never
fully understood what it does, nor do I really want to.


> And up to now, I have not needed to know the difference between a class 
> and an object in Perl.

Get thee to "Object Oriented Perl" by Damian Conway.
http://www.manning.com/books/conway


-- 
Michael G Schwern     [EMAIL PROTECTED]     http://www.pobox.com/~schwern
'All anyone gets in a mirror is themselves,' she said. 'But what you
gets in a good gumbo is everything.'
        -- "Witches Abroad" by Terry Prachett

Reply via email to