... I feel sure that there's a way to avoid calling coerce manually.
That was why I used Types::Params because the POD says: ...it will check the arguments passed to it conform to the spec (coercing them if appropriate)
Otherwise I've had to relie on has_coercions before attempting to call coerce
If there is another way though, I would love to know about it.
DermotIn reply to Re^3: Coerce or transform with Types::Param
by tomred
in thread Coerce or transform with Types::Param
by tomred
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |