What is the correct way to install Perl Catalyst to Debian -
i restarting use catalyst framework, running on debian jessie (currently 8.3.) have followed recommendation debian using install apt-get install:
http://wiki.catalystframework.org/wiki/installingcatalyst
but got catalyst version 5.90075. there lot of changes using unicode in later versions, want latest - 5.90103. have tried install command: cpan catalyst::runtime catalyst::devel catalyst updated, there errors when running catalyst server (errors update , listed @ end of question).
i searching whether source.list apt has correct links - have not found link latest debian version.
or not possible in current stable debian version , should go unstable debian version able use latest catalyst?
errors when running catalyst:
caught exception in myapp::controller::login->index "can\'t locate object method "has_args_constraints" via package "catalyst::action" @ /usr/local/share/perl/5.20.2/catalyst.pm line 1632."
after comment lines method has_args_constraints directly in catalyst.pm (i know not correct way, sure ...), got error:
caught exception in myapp::controller::login->index "can\'t locate object method "scheme" via package "catalyst::action" @ /usr/local/share/perl/5.20.2/catalyst.pm line 1660."
again commented code directly in catalyst.pm, method scheme appears, , got errors, related unicode when authorizing user application:
caught exception in myapp::controller::login->index "wide character in subroutine entry @ /usr/share/perl5/catalyst/authentication/credential/ line 85."
this appears when special characters - utf8 - inserted. working in previous version of app. inserting code password.pm before line 85:
use encode; $string = encode('utf8', $string); has solved problem .... same problem unicode appears when mailing utf8 characters:
caught exception in myapp::view::email::template->process "wide character in print @ /usr/share/perl5/email/sender/transport/sendmail.pm line 91."
this working previous version of catalyst. unicode settings in catalyst made according page:
http://wiki.catalystframework.org/wiki/tutorialsandhowtos/using_unicode.view
Comments
Post a Comment