# # Config file for saf_http_out for Safari # Copyright (c) 1999 by Barrie Slaymaker, rbs@telerama.com # # You may distribute under the terms of either the GNU General Public # License or the Artistic License, as specified in the README file. # # # # edit() gets called by saf_http_out after the file has been read in and # after all headers have been automatically generated. # It may change options (like file-type or mime-type), # headers or contents. # # $options is a ref to a hash containing command line options # $headers is a ref to an array of strings containing header lines in # the order they are to be printed, like "Content-type: text/html". # $contents is a ref to a scalar containing the entire contents of the file # to be modified. # use Safari::Edit::p4 ; *edit = *Safari::Edit::p4::edit ; # # Tell saf_http_out that we loaded correctly # 1 ;