I just wrote a very simplistic syntax checker to run my development perl code through that checks if I've actually defined all the subroutines that I'm trying to use. One inelegance among many is that I currently have to define in the syntax checker what the reserved words are because I can't otherwise tell that they are not subroutine calls in the code being checked. So, is there a simple way to determine in perl whether a given string is a reserved word?