Despite the fact that Perl built under native Win32 environment (like
ActivePerl) doesn't have symlink support, this support is provided by
NT-based operation systems (like Win2k/XP/2003), and Win32::Symlink can
be used as workaround on NTFS filesystem.
Attached patch adds Win32::Symlink usage for PAR::Repository when it
runs on $^O eq 'MSWin32' and has 'cl' as C Compiler in Config.pm (to
avoid using under Cygwin environment, where 'gcc' is used).
Sadly I found no functionality tests included in distributive, so I
cannot be sure about absolutely correct work, but it should.
--
Serguei Trouchelle

> Despite the fact that Perl built under native Win32 environment (like
> ActivePerl) doesn't have symlink support, this support is provided by
> NT-based operation systems (like Win2k/XP/2003), and Win32::Symlink can
> be used as workaround on NTFS filesystem.
>
> Attached patch adds Win32::Symlink usage for PAR::Repository when it
> runs on $^O eq 'MSWin32' and has 'cl' as C Compiler in Config.pm (to
> avoid using under Cygwin environment, where 'gcc' is used).

I didn't know about Win32::Symlink. I'll look at it! (And of course, at
your patch!)
Show quoted text

> Sadly I found no functionality tests included in distributive, so I
> cannot be sure about absolutely correct work, but it should.

Well, yes. It's a shame I never wrote extensive tests. Sorry. :(
I'll address this asap, but that might mean it has to wait until about
Christmas.
Steffen

> Despite the fact that Perl built under native Win32 environment (like
> ActivePerl) doesn't have symlink support, this support is provided by
> NT-based operation systems (like Win2k/XP/2003), and Win32::Symlink can
> be used as workaround on NTFS filesystem.
>
> Attached patch adds Win32::Symlink usage for PAR::Repository when it
> runs on $^O eq 'MSWin32' and has 'cl' as C Compiler in Config.pm (to
> avoid using under Cygwin environment, where 'gcc' is used).
>
> Sadly I found no functionality tests included in distributive, so I
> cannot be sure about absolutely correct work, but it should.

Hi again,
unfortunately, Win32::Symlink works only for directories. Hence it is
not suitable for PAR::Repository. Your idea was good, but it's not going
to work. Audrey's Win32::Symlink needs to mention that in the docs :/
I'm marking the ticket as rejected.
Steffen