On Thursday 06 October 2005 09:46 am, Octavian Rasnita wrote:
> It is very strange indeed, because if I use:
>
> eval{untie %session;}; print STDERR $@ if $@;
>
> instead of:
>
> untie %session;
>
> ... the program works fine, with no error on the screen and *no error in
> the log file*.
sub handler
{
....
untie %session; #This line creates problems.
#end handler
}
Aren't you supposed to be returning Apache2::Const::OK from the handler?
My guess is that "untie %session" returns something (probably undef) that
triggers a failure, whereas your print-if test returns something that equates
to OK.
--
"Why don't you try practicing random acts of intelligence
and senseless acts of elf-control?"