bug-gettext
[Top][All Lists]
Advanced

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

[bug-gettext] [bug #49818] Incomplete list of Perl functions without arg


From: Bruno Haible
Subject: [bug-gettext] [bug #49818] Incomplete list of Perl functions without arguments
Date: Fri, 9 Dec 2016 19:55:28 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0

URL:
  <http://savannah.gnu.org/bugs/?49818>

                 Summary: Incomplete list of Perl functions without arguments
                 Project: GNU gettext
            Submitted by: haible
            Submitted on: Fri 09 Dec 2016 08:55:26 PM CET
                Category: Perl
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: gflohr
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

The list of "Perl built-in function that does not accept arguments" in
function x_perl_lex (file x-perl.c, around line 2780) has two oddities:

1) It contains a duplicate: "wantarray" occurs twice.

2) It contains only 21 names, whereas in
http://perldoc.perl.org/index-functions.html I can find 62 names that don't
take arguments:

and
AUTOLOAD
BEGIN
break
CHECK
cmp
__DATA__
default
DESTROY
else
elseif
elsif
endgrent
endhostent
END
__END__
endnetent
endprotoent
endpwent
endservent
eq
__FILE__
foreach
fork
format
ge
getgrent
gethostent
getlogin
getnetent
getppid
getprotoent
getpwent
getservent
given
gt
if
INIT
le
__LINE__
lt
m
ne
not
or
__PACKAGE__
setgrent
setpwent
s
__SUB__
time
times
tr
UNITCHECK
unless
until
wait
wantarray
when
while
xor
y

Some of them have other uses, sure. Could you please clarify?




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?49818>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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