You have to useOn 12/18/2013 05:04 PM, Attila Bárdi wrote:
> Hey Stefan,
>
> as you see the the ldap gives me the correct result, till the Dancer module
> is not loaded.
> I think it is a Dancer error not an ldap.
>
> I created a more simple test case:
>
> battila@igornb:~$ dancer -a MyWeb::App
> ...
> battila@igornb:~$ cd MyWeb-App
> battila@igornb:~/MyWeb-App$ vi lib/ChrachterMistake.pm
>
> #!/usr/bin/perl -w
> package ChrachterMistake;
> use strict;
> use warnings;
>
> sub gimmySomething {
> return "Bárdi Attila";
> }
>
> 1;
>
> battila@igornb:~/MyWeb-App$ vi lib/MyWeb/App.pm
>
> package MyWeb::App;
> use Dancer ':syntax';
> use ChrachterMistake;
>
> our $VERSION = '0.1';
>
> get '/' => sub {
> return ChrachterMistake::gimmySomething();
> };
>
> true;
>
use utf8;
if you put hardcoded UTF-8 strings into your module.
Regards
Racke
--
LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team
_______________________________________________
dancer-users mailing list
dancer-users@dancer.pm
http://lists.preshweb.co.uk/mailman/listinfo/dancer-users