Octavian Rasnita wrote:
> I have made a perl module that does: > > > > my $status = $params->{r}->meets_conditions(); > > > > if ($status) { > $params->{r}->custom_response($status, "Pagina nu a fost modificata"); > return; > } > that usage is wrong. it should be if ((my $status = $r->meets_conditions) == OK) { # send content } else { return $status; } although these are mp1 examples, you can find a few different approaches to 304 here http://www.modperlcookbook.org/code/ch06/Cookbook/ HTH --Geoff