Checking things are well formed and DTD for XHTML/Petal, was: Re: [Petal] Petal 1.10_09 Released

Jean-Michel Hiver jhiver at mkdoc.com
Tue Nov 4 15:58:28 GMT 2003


On Tue 04-Nov-2003 at 08:32:07AM -0500, William McKee wrote:
> On Tue, Nov 04, 2003 at 12:20:27PM +0000, Jean-Michel Hiver wrote:
> > If you are using CGI.pm, you can use semicolons instead of & which
> > makes it _much_ nicer, i.e.
> > 
> >   foo.cgi?a=b;c=d;e=f
> > 
> > Can't get any sweeter IMHO :)
> 
> Wow, that is a cool shortcut.

You might have to do this somewhere in your code:

   $CGI::USE_PARAM_SEMICOLONS = 1;

With the added benefit that $cgi->self_url() will generate nice
semicolon separated URIs.

Cheers,
-- 
Building a better web - http://www.mkdoc.com/
---------------------------------------------
Jean-Michel Hiver
jhiver at mkdoc.com  - +44 (0)114 255 8097
Homepage: http://www.webmatrix.net/


More information about the Petal mailing list