You also need use Apache2::RequestRec (), then grab $s by my $s = $r->server;.
In reply to Re: Apache2::ServerRec Cluelessness by redhotpenguin in thread Apache2::ServerRec Cluelessness by sstevens