http://qs321.pair.com?node_id=11132070


in reply to Re^4: Perl Contempt in My Workplace
in thread Perl Contempt in My Workplace

ok, so basically you're suggesting me to redo all negotiations to Jquery/datatables from scratch using JSON::PP and do a lot of fun with modern web frameworks.

This is exactly what I was trying to avoid, I want to reuse CPAN modules, not create yet another CPAN module version 0.001 which is to be soon abandoned.

my "fun" area is desktop application programming with GUI preferable with a single executable.
I do not use web frameworks at all - this is not my point of interest.

Replies are listed 'Best First'.
Re^6: Perl Contempt in My Workplace
by marto (Cardinal) on May 05, 2021 at 13:51 UTC

    You said Perl is no longer of that 20 years ago., and there's a good reason for not doing these things the same way you did them 20 years ago. The front page of the datatables site you linked to shows which data sources are supported, so you couldn't have looked very far. Using the core JSON module to return your data, regardless of its source is all you had to do, no need to 'create yet another CPAN module'. All of your complaints are simply addressed reading the docs of the tool you choose to use (datatables) and using the core perl modules. No need for anything else. You seemed to think it more productive not to do this, but try various CPAN modules which you didn't seem to get working.