Problem with perl and SVK

Hans Petter Selasky hps at selasky.org
Mon Oct 13 19:08:06 UTC 2014


On 10/13/14 20:55, Hans Petter Selasky wrote:
> On 10/13/14 20:37, Kurt Jaeger wrote:
>> Hi!
>>
>>> When updating the system to the latest perl and SVK version in ports, I
>>> am seeing this:
>> [...]
>>
>> I'm seeing the same on 10.0p9 and perl 5.20.
>>
>>> Any ideas how to fix?
>>
>> This seems to bringt svk back in the game:
>>
>> cd /usr/local/lib/perl5/site_perl/5.20/SVK
>> vi Util.pm
>>
>> replace
>>
>> use autouse 'List::Util'        => qw( max(@) );
>>
>> with
>>
>> use List::Util;
>>
>> but a short test shows:
>>
>> $ svk
>> Use of uninitialized value $ARGV[0] in ucfirst at
>> /usr/local/lib/perl5/site_perl/5.20/App/CLI/Command.pm line 116.
>>      SVK Documentation - Main index:
>> [...]
>>
>> so the root cause is somewhere deeper.
>>
>
> Hi,
>
> Using "use List::Util;" instead of autouse fixes the "svk diff" at least
> over here.
>
> --HPS

Hi,

Seems to work:

https://svnweb.freebsd.org/changeset/base/273059

The other perl warning has always been there.

Will someone make a patch for the SVK port?

--HPS


More information about the freebsd-current mailing list