[Maypole] Maypole::Utils for portability

From: Sebastian Riedel (sri at oook.de)
Date: Fri Sep 10 2004 - 21:14:05 BST


Just a little idea...

Maybe we should provide a Maypole::Utils module full of portable helper
functions that work with CGI, mod_perl1 and mod_perl2.

use Maypole::Utils;

$r->utils->remote_host;
$r->utils->fetch_cookie(...lalala...);
$r->utils->bake_cookie(...lalala...);
$r->utils->add_header(...lalala...);
$r->utils->header;
$r->utils->param(...lalala...);

This would fit very well in my concept to make everything clean and
portable, which began with Maypole::Application....

sebastian

_______________________________________________
maypole mailing list
maypole at lists.netthink.co.uk
http://lists.netthink.co.uk/listinfo/maypole



This archive was generated by hypermail 2.1.3 : Thu Feb 24 2005 - 22:25:56 GMT