in reply to Re^2: Coerce or transform with Types::Param
in thread Coerce or transform with Types::Param
... 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.
Dermot
|
|---|