Re: [Mason] submitting and parsing form data

2008-03-10 Thread Daniel Bretoi
foreach ( keys %ARGS ) { >/([\d\w]+) \[ ([\d\w]+) \]/x or next; >$ARGS{$1}{$2} = delete $ARGS{$_}; > } > > does what i need and it's quick > > On Mon, Mar 10, 2008 at 12:01 PM, Daniel Bretoi <[EMAIL PROTECTED]> > wrote: >> >> On Mar 10, 2008, at 8:

Re: [Mason] submitting and parsing form data

2008-03-10 Thread Daniel Bretoi
On Mar 10, 2008, at 8:58 AM, Hans Dieter Pearcey wrote: > On Mon, Mar 10, 2008 at 08:49:56AM -0700, Daniel Bretoi wrote: >> I have something like this: >> >> >> >> >> >> >> And I was hoping to see >> >> $ARGS = { >>&

[Mason] submitting and parsing form data

2008-03-10 Thread Daniel Bretoi
I have something like this: And I was hoping to see $ARGS = { 'user' => { 'name' => 'daniel', 'email' => '[EMAIL PROTECTED]', } }; however, all I'm getting is: $ARGS = { 'user[name]' => 'daniel', 'user[email]' => '[EMAIL PROTECTED]', }; what's the