in reply to Re^2: Set HTTP Status code
in thread Set HTTP Status code

So I'm guessing it may have something to do with mod_perl - since I don't have that set up on my local environment, and it works.

Don't guess , know :p

See Re^4: mod_perl give 404 not_found with content, both examples work for me