|Perl Monk, Perl Meditation|
Dancer param rewriteby Skeeve (Vicar)
|on Jan 23, 2014 at 15:31 UTC||Need Help??|
Skeeve has asked for the
wisdom of the Perl Monks concerning the following question:
Sorry for the title... I couldn't think of a better one.
I'm writing a Dancer application and was wondering whether or not there is a way to change the data the user supplied.
I have, for example, a date input field where the user is expected to enter data in ISO format. But I could be "forgiving" and accept something like "2014-1-3" and rewrite it to "2014-01-03".
But I couldn't find a way yet to assign a value to my param('dateinput'). Is there a way at all?