Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jul 2019 14:35:34 -0600
From:      Adam Weinberger <adamw@adamw.org>
To:        Sid <sid@bsdmail.com>
Cc:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: www/weblint error message
Message-ID:  <CAP7rwci%2BOf3BXWn-Jwz1ojBjeOE6-4zHbSHH4szGcKFmybfvOQ@mail.gmail.com>
In-Reply-To: <trinity-c4baf29f-8e03-4670-b8ea-0aeb9ff77ee4-1563650556392@3c-app-mailcom-lxa06>
References:  <trinity-c4baf29f-8e03-4670-b8ea-0aeb9ff77ee4-1563650556392@3c-app-mailcom-lxa06>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jul 20, 2019 at 1:35 PM Sid <sid@bsdmail.com> wrote:
>
> On trying to run www/weblint, I got this error message:
>
>  Can't use 'defined(%hash)' (Maybe you should just omit the defined()?) at /usr/local/bin/weblint line 846.
>
> It's worked on a previous compile. I'm not sure if this is a bug or if I need to configure something. Thank you.

Perl no longer supports defined(%hash). Instead of
  if defined(%hash)
it should be
  if (%hash)

# Adam


-- 
Adam Weinberger
adamw@adamw.org
https://www.adamw.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAP7rwci%2BOf3BXWn-Jwz1ojBjeOE6-4zHbSHH4szGcKFmybfvOQ>