It is the only change.
Please build from patched sources. It will fix the problem.
m.nooning wrote:
> Mark Dootson wrote:
>> Patch applied to SVN.
>>
>> Tested build against Win32 AS perl, a none AS perl, and on a Linux
>> machine. (You never know when a typo might catch you out :-) )
>>
>> Regards
>>
>> Mark
>>
>>
>>> That seems just about right, I think. Thanks for your detective work! Do
>>> you think you could patch par.pl with this suggestion?
>>>
>>> Steffen
>>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> Index: ChangeLog
>> ===================================================================
>> --- ChangeLog (revision 436)
>> +++ ChangeLog (working copy)
>> @@ -1,4 +1,9 @@
>>
>> +[Changes for 0.975 - May 01, 2007]
>> +* Bug fixes, etc.
>> + - Win32 added to 'required modules' to handle changes in Win32 core
>> + present in ActiveState build 820 and development branches.
>> +
>> [Changes for 0.974 - Apr 14, 2007]
>> * Bug fixes, etc.
>> - No longer assume -B when using pp -P (or -p). (Roderich Schupp)
>> Index: lib/PAR/Packer.pm
>> ===================================================================
>> --- lib/PAR/Packer.pm (revision 436)
>> +++ lib/PAR/Packer.pm (working copy)
>> @@ -3,7 +3,7 @@
>> use strict;
>> use warnings;
>>
>> -our $VERSION = '0.973';
>> +our $VERSION = '0.975';
>>
>> =head1 NAME
>>
>> Index: script/par.pl
>> ===================================================================
>> --- script/par.pl (revision 436)
>> +++ script/par.pl (working copy)
>> @@ -688,6 +688,7 @@
>> require PAR::Heavy;
>> require PAR::Dist;
>> require PAR::Filter::PodStrip;
>> + eval { require Win32 };
>> eval { require Scalar::Util };
>> }
>>
>>
> Mine still does not work.
>
> Let me make sure about your patch. I went into C:\perl\bin\par.pl and
> added
> eval { require Win32 };
> as shown in your patch. That seems to be the only real change. My
> results are the same.
> BTW: Any idea which file is meant by "line 826"?
>
> ------------paste test
> C:\temp>type hello.pl
> print "Hello\n";
>
> C:\temp>pp -o hello.exe hello.pl
>
> C:\temp>hello.exe
> Can't locate Win32.pm in @INC (@INC contains: .) at -e line 826.
> BEGIN failed--compilation aborted at -e line 896.
>
>