[Catalyst] Re: CGI::Dump()

2008-04-18 Thread Aristotle Pagaltzis
* Ashley [EMAIL PROTECTED] [2008-04-18 21:30]: push(@result,lib$param/b/li); push(@result,ul); That’s invalid HTML. You can’t put an `ul` directly inside a `ul` like that. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/

Re: [Catalyst] Re: CGI::Dump()

2008-04-18 Thread Ashley
I know. Grabbed it from CGI.pm without checking. It also returns the, I believe, illegal ul/ul when there are no params. :) If I ever do anything with it, I promise to fix it. On Apr 18, 2008, at 7:38 PM, Aristotle Pagaltzis wrote: * Ashley [EMAIL PROTECTED] [2008-04-18 21:30]:

[Catalyst] Re: CGI::Dump()

2008-04-18 Thread Aristotle Pagaltzis
Hi Ashley, my $t = sub { my $n = shift; @_ ? join(\n,$n,@_,/$n) : () ) } my $e = sub { HTML::Entities::encode($_) }; return $t-( ul = map { $t-( li = $t-( b = $e ), $t-( ul = map { $t-( li = $e ) } $c-req-param($_) ), ) } $c-req-param ); Untested. But it least it