On Sunday, 29 April 2012 10:45:41 Joachim Zobel wrote: > Is it possible to access a function (ap_make_content_type) that is only > present in xs/tables/current/Apache2/FunctionTable.pm and > xs/maps/apache2_functions.map but not wrapped any further?
!MODULE=Apache2::HTTPCore >ap_process_request >ap_make_content_type >ap_core_reorder_directories >ap_index_of_response It should be enough to change that to MODULE=Apache2::HTTPCore PACKAGE=Apache2::RequestRec >ap_process_request ap_make_content_type >ap_core_reorder_directories >ap_index_of_response Then "perl Makefile.PL && make test" This builds a new module Apache2::HTTPCore which implements one method: use Apache2::HTTPCore (); $newtype=$r->make_content_type($type); Torsten Förtsch -- Need professional modperl support? Hire me! (http://foertsch.name) Like fantasy? http://kabatinte.net