I'm trying to generate a Moose hash with the keys and values generated by passing in a string such as:
foo=bar,foo2=bar2,foo3=bar3etc.. and then being able to access the value via $self->myhash('foo');
I've tried coerce on a subtype with via => performing the 2 splits required.. I'm missing something.. I can't get this to work no matter what I try.
Can someone point me in the right direction?In reply to Moose coerce by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |