in reply to Re^2: Dancer param rewrite
in thread Dancer param rewrite

Yes, that is the example, but read a bit further on the part about the custom class...
normalize($hashref) Receives a hashref that contains the parameters keys/value. It should +return a hashref (it can be the same), containing modified parameters +.
Sounds like you can modify values as well, since you're returning a hashref with both keys and values.

Replies are listed 'Best First'.
Re^4: Dancer param rewrite
by Skeeve (Parson) on Jan 24, 2014 at 12:31 UTC

    Okay... It was not that obvious, but you're right. It seems like it could be useful for my purpouse.

    Will check. Thank you.


    s$$([},&%#}/&/]+}%&{})*;#$&&s&&$^X.($'^"%]=\&(|?*{%
    +.+=%;.#_}\&"^"-+%*).}%:##%}={~=~:.")&e&&s""`$''`"e