The guide points out that __DATA__ and __END__ tokens are not allowed in Registry
scripts.  However, the error generated into the logfile in this case complains
"Missing right bracket", and the line given is the last script line before the
token.  Oddly, if one *adds* a (syntactically incorrect) right bracket at that
point, the script then executes OK, but <DATA> returns nothing.

I got thrown this problem today by a colleague and spent some time scratching my
head until I finally related this strange behavior to his use of __DATA__.

Perhaps the Guide's troubleshooting section should include a "Spurious 'Missing
right bracket'" item, asking if the user is, perchance, trying to use __DATA__ or
__END__ in a Registry script.

Reply via email to