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:
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 = {
>>&
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
3 matches
Mail list logo