Problem with perl and SVK

Hans Petter Selasky hps at selasky.org
Mon Oct 13 18:55:12 UTC 2014


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


More information about the freebsd-current mailing list