suppose i wanted the same logic as: return Apache::DECLINED unless $r->is_initial_req;
except that sometimes it may be necessary to serve for a subrequest, just not more than once. the construct i tried is: for (my $pr = $r; $pr; $pr = $pr->prev) { if ($pr->notes->get(__PACKAGE__ . '::SEEN')) { $r->log->debug("We've been seen already."); return Apache::DECLINED; } } $r->notes->set(__PACKAGE__ . '::SEEN', 1); but i get no love. what's the preferred way of dealing with this? cheers .dorian