Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Oct 2014 20:55:11 +0200
From:      Hans Petter Selasky <hps@selasky.org>
To:        Kurt Jaeger <lists@opsec.eu>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: Problem with perl and SVK
Message-ID:  <543C200F.90905@selasky.org>
In-Reply-To: <20141013183706.GO29437@home.opsec.eu>
References:  <543C19AD.8070603@selasky.org> <20141013183706.GO29437@home.opsec.eu>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?543C200F.90905>