Also, there is "jemplate", a Perl->Javascript template::toolkit-like module. See https://metacpan.org/module/Jemplate and http://blog.nu42.com/2012/06/jemplate-javascript-templating-engine.html & search for more examples if interested.
There's another perl-to-js project, seems to be just a "proof-of-concept", but it's always interesting to see what people are doing. "microperl" http://dg.cx/jsperl/ I once tried to port the microperl & perlito examples on those javascript sample pages to each other and was not successful, but it did teach me a little about their limitations! -y On Wed, Jul 31, 2013 at 1:54 AM, Elizabeth Mattijsen <[email protected]> wrote: > On Jul 29, 2013, at 1:34 PM, Pierre M <[email protected]> wrote: > > Perlito can translate my Perl5 code to Javascript. > > > > Does it mean that i can use Template::Toolkit and all the other CPAN > modules that i want, on client-side? > > I'm not sure whether Flavio is following this mailing list. > > But to answer your question to the best of my knowledge: > > maybe, at some point in time, when these prerequisites have been met: > > 1. Perlito supports "use": afaik, it doesn't support generic "use" just > yet. > 2. the modules that you (indirectly) use, are all Perl only, without XS > components (not likely) > > There is another project that converts C-code to Javascript, that has been > compiling Perl itself to Javascript, run by one of the London.pm guys. You > may want to check on the London.pm mailing list. > > > > Liz
