Dancer
Dancer request params encoding
Let\'s say that I have a page which is encoded in \'cp1251\' and I submit a form then my params will be in \'cp1251\'. But when I access my params in Dancer I get only \'?\'marks. How can I access the[详细]
2023-04-12 00:38 分类:问答Perl Dancer after hook
Is there a way in Dancer to execute a code after every request? I tried with an after hook but it seems that it doesn\'t execute after a file request...[详细]
2023-04-09 00:45 分类:问答Multiple app directories with Dancer perl
Is there a way to have one app in dancer but with multiple appdirs. Or could I do something like this:[详细]
2023-04-03 11:03 分类:问答perl dancer: foreach in template is only printing first value
I have what should be a really simple problem in Dancer: I have an array of names, and I\'d like to print each one in a template.These names come from an outside source (not a database).However, when[详细]
2023-03-31 21:23 分类:问答How can I make these tests more DRY?
I currently have the following at the beginning of several test files, but it\'s very not DRY. But I\'m not really sure what the best way to move this into its own file is. Any suggestions?[详细]
2023-03-19 15:37 分类:问答How do I handle Dancer routes when running as a CGI script?
I am running the Perl Dancer framework following the instructions written in Dancer::Deployment for running as a cgi-script. This allows me to display a default page for the \'/\' route, but I can\'t[详细]
2023-03-04 06:42 分类:问答Incorrect Content Length When Running Perl Dancer On Apache
I am just getting started with setting up an app using Perl Dancer on Apache. I used the provided dancer s开发者_运维技巧cript to setup my initial directory structure, and was able to get things setup[详细]
2023-03-03 14:17 分类:问答Which form-builder handles many-to-many relationships of data and dynamic input?
I\'m e开发者_开发技巧xperimenting with Dancer some time, and looking for the right blocks to build my application. Frameworks tend to have flat example applications, dealing with one table at time. So[详细]
2023-02-18 07:44 分类:问答Can't locate MIME/Types.pm in @INC ... at /usr/local/share/perl/5.10.1/Dancer/MIME.pm line 7
I\'m very new to programming so I apologise if I\'ve missed something obvious. I\'m following the directions at https://github.com/keeth/Net-OAuth/blob/master/README and got the following error:[详细]
2023-02-16 09:21 分类:问答