-
Notifications
You must be signed in to change notification settings - Fork 274
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
keyword "delete" doesn't work #12
Comments
Huh, it should be 'del', like dancer 1 :S |
I have found the "del" method which should fix the issue but it call itself in deep recursion. I purpose a patch. |
See my patch. It's there already :) |
Okay :) good idea, for your point. let @sukria choose :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have test the DELETE keyword.
"delete" is a perl core command, it's used for delete a key in a hash or an array, so we can't use it in the keywords name space.
This code give me an error :
use Dancer;
set serializer => 'JSON';
delete '/login' => sub {
return { response => 'OK' };
};
start;
The text was updated successfully, but these errors were encountered: