good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: How to check if a word is reservedby jsprat (Curate) |
on Jun 13, 2003 at 00:16 UTC ( [id://265545]=note: print w/replies, xml ) | Need Help?? |
Check keywords.h, located in the CORE directory in your perl tree. Contains a #define line for each keyword. Just parse it, strip off the unneeded cruft, place the words in a hash and there you go! HTH
In Section
Seekers of Perl Wisdom
|
|