On 03/07/2014 01:00 PM, Marty Tennison wrote:
del '/Users/:id' => sub {..}

http://mojolicio.us/perldoc/Mojolicious/Lite#del

Background: perl has a 'delete' operator, like

delete $hash{key}

so naming delete routes 'delete' would be confusing on a whole different level.

Cheers,
Moritz

--
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Reply via email to