[Catalyst] Annoying warning running under test server on Win32
    Will Hawes 
    info at whawes.co.uk
       
    Wed Dec 14 20:49:02 CET 2005
    
    
  
Brian Cassidy wrote:
> Will,
> 
>> -----Original Message-----
>> BTW, the fix you mention for File::Spec::Win32 does not remove the test
>> server warning for me.
> 
> It works for me -- make sure you're patching the proper file. With
> Activestate Perl, that would be: C:\Perl\lib\File\Spec\Win32.pm (rather than
> the one in C:\Perl\site\lib...)
> 
> -Brian
> 
Apologies, you were right. I modified C:\Perl\lib\File\Spec\Win32.pm and 
the problem does indeed go away.
I have File::Spec at both locations and according to "perl -V" 
(ActivePerl 5.8.7.813), my @INC is
C:\Perl\lib
C:\Perl\site\lib
.
So by default PPM does not upgrade "core" modules like File::Spec 
because it installs to site\lib, which I hadn't realised. IMO it would 
make a lot more sense if ActiveState did things the same way as FreeBSD 
5.4, which puts site_perl ahead of lib. But there we go.
    
    
More information about the Catalyst
mailing list