Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^3: Dancer param rewrite

by kschwab (Priest)
on Jan 24, 2014 at 11:14 UTC ( #1071928=note: print w/replies, xml ) Need Help??


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 (Vicar) 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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1071928]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (10)
As of 2018-07-20 13:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (431 votes). Check out past polls.

    Notices?