This section is from the "Practical mod_perl" book, by Stas Bekman and Eric Cholet. Also available from Amazon: Practical mod_perl
This error usually means you really do have a syntax error. However, you might also see it because a script running under Apache::Registry is using either the _ _DATA_ _ or __END__ tokens. In Chapter 6, we explain why this problem arises when a script is run under Apache::Registry.
 
Continue to: