On Thu, 8 Jan 2009, Odysseas Pentakalos, Ph.D. wrote: > Thanks so much for your help. That was not the problem but > it helped me see the problem. I was not importing the > Constants at the top so regardless of whether I was > returning FORBIDDEN or DECLINED, or HTTP_UNAUTHORIZED the > value was invalid. I spent hours tracking down this > oversight.
I hate things like that! :-) Just curious, what would have happened if you'd uncommented 'use strict'? Programming like this is good for you: use strict; use warnings FATAL => 'all'; use English '-no_match_vars'; Mark