autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 17-proto-autoscan-check.patch


From: Russ Allbery
Subject: Re: 17-proto-autoscan-check.patch
Date: 23 Jan 2001 02:11:56 -0800
User-agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)

Akim Demaille <address@hidden> writes:

> FYI (maybe you know, I don't know):
> /tmp/ace % ./autoscan -A .
> defined(@array) is deprecated at ./autoscan line 520.
>         (Maybe you should just omit the defined()?)
> defined(@array) is deprecated at ./autoscan line 542.
>         (Maybe you should just omit the defined()?)
> defined(@array) is deprecated at ./autoscan line 564.
>         (Maybe you should just omit the defined()?)

When people write "defined(@array)" in Perl, they almost invariably meant
to just write "@array", which evaluates to true in a Boolean context if
the array contains any elements and false otherwise.

-- 
Russ Allbery (address@hidden)             <http://www.eyrie.org/~eagle/>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]