In the perl4.0 source directory, you'll find a directory called "emacs", which contains several files that should help you.