This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
PL_numeric_radix used without being defined (from Ilya
[perl5.git] / keywords.pl
CommitLineData
a0d0e21e
LW
1#!/usr/bin/perl
2
36477c24 3unlink "keywords.h";
a0d0e21e
LW
4open(KW, ">keywords.h") || die "Can't create keywords.h: $!\n";
5select KW;
6
7# Read & print data.
8
9$keynum = 0;
10while (<DATA>) {
11 chop;
12 next unless $_;
13 next if /^#/;
14 ($keyword) = split;
15 print &tab(5, "#define KEY_$keyword"), $keynum++, "\n";
16}
17
18###########################################################################
19sub tab {
20 local($l, $t) = @_;
21 $t .= "\t" x ($l - (length($t) + 1) / 8);
22 $t;
23}
24###########################################################################
25__END__
26
27NULL
a0d0e21e 28__FILE__
68dc0745 29__LINE__
30__PACKAGE__
e50aee73 31__DATA__
a0d0e21e
LW
32__END__
33AUTOLOAD
34BEGIN
35CORE
36DESTROY
37END
38EQ
39GE
40GT
7d07dbc2 41INIT
a0d0e21e
LW
42LE
43LT
44NE
45abs
46accept
47alarm
48and
49atan2
50bind
51binmode
52bless
53caller
54chdir
55chmod
56chomp
57chop
58chown
59chr
60chroot
61close
62closedir
63cmp
64connect
65continue
66cos
67crypt
68dbmclose
69dbmopen
70defined
71delete
72die
73do
74dump
75each
76else
77elsif
78endgrent
79endhostent
80endnetent
81endprotoent
82endpwent
83endservent
84eof
85eq
86eval
87exec
88exists
89exit
90exp
91fcntl
92fileno
93flock
94for
95foreach
96fork
97format
98formline
99ge
100getc
101getgrent
102getgrgid
103getgrnam
104gethostbyaddr
105gethostbyname
106gethostent
107getlogin
108getnetbyaddr
109getnetbyname
110getnetent
111getpeername
112getpgrp
113getppid
114getpriority
115getprotobyname
116getprotobynumber
117getprotoent
118getpwent
119getpwnam
120getpwuid
121getservbyname
122getservbyport
123getservent
124getsockname
125getsockopt
126glob
127gmtime
128goto
129grep
130gt
131hex
132if
133index
134int
135ioctl
136join
137keys
138kill
139last
140lc
141lcfirst
142le
143length
144link
145listen
146local
147localtime
c0329465 148lock
a0d0e21e
LW
149log
150lstat
151lt
152m
153map
154mkdir
155msgctl
156msgget
157msgrcv
158msgsnd
159my
160ne
161next
162no
163not
164oct
165open
166opendir
167or
168ord
77ca0c92 169our
a0d0e21e
LW
170pack
171package
172pipe
173pop
174pos
175print
176printf
c07a80fd 177prototype
a0d0e21e
LW
178push
179q
180qq
8782bef2 181qr
a0d0e21e
LW
182quotemeta
183qw
184qx
185rand
186read
187readdir
188readline
189readlink
190readpipe
191recv
192redo
193ref
194rename
195require
196reset
197return
198reverse
199rewinddir
200rindex
201rmdir
202s
203scalar
204seek
205seekdir
206select
207semctl
208semget
209semop
210send
211setgrent
212sethostent
213setnetent
214setpgrp
215setpriority
216setprotoent
217setpwent
218setservent
219setsockopt
220shift
221shmctl
222shmget
223shmread
224shmwrite
225shutdown
226sin
227sleep
228socket
229socketpair
230sort
231splice
232split
233sprintf
234sqrt
235srand
236stat
237study
238sub
239substr
240symlink
241syscall
c07a80fd 242sysopen
a0d0e21e 243sysread
137443ea 244sysseek
a0d0e21e
LW
245system
246syswrite
247tell
248telldir
249tie
c07a80fd 250tied
a0d0e21e
LW
251time
252times
253tr
254truncate
255uc
256ucfirst
257umask
258undef
259unless
260unlink
261unpack
262unshift
263untie
264until
265use
266utime
267values
268vec
269wait
270waitpid
271wantarray
272warn
273while
274write
275x
276xor
277y