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?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Dancer param rewrite
by kschwab (Vicar) on Jan 23, 2014 at 16:34 UTC | |
by Skeeve (Parson) on Jan 24, 2014 at 06:15 UTC | |
by kschwab (Vicar) on Jan 24, 2014 at 11:14 UTC | |
by Skeeve (Parson) on Jan 24, 2014 at 12:31 UTC |