[Dancer-users] Conditional Matching

ambs ambs+dancer at perl-hackers.net
Thu Jan 13 22:43:24 CET 2011


Hello

I have a form with two submit buttons. I do not want to have js to 
detect what submit button was used to redirect the script for two 
different actions.

Looking to the documentation I found out conditional matching.

So, my doubt is: is there any chance on using conditional matching to 
detect what submit button was used? (basically, is there any way to 
access to the CGI parameters on the conditional matching portion of routes?)

Thank you
kindest regards,
ambs


More information about the Dancer-users mailing list