Answer the question
In order to leave comments, you need to log in
How to write a website using Perl?
I've never dealt with Pearl before. But we must, so we do.
But the problem is that it is possible to embed the pearl into html files by manipulations that are useless for me, because I will not be able to control whether the end users have the pearl installed.
And inserting html into perl scripts using print is not possible due to the terrible monotony of the process and the probability that I will get confused is equal to one.
Is there a way to do this in a human way, because perl really got used to working with the database, but the visual component cannot be lost either ...?
Answer the question
In order to leave comments, you need to log in
We take some web framework , read the documentation and write a website. Catalyst used to be popular.
In general, there is enough material here . And yes, perl is a server language, it's useless to embed it in a user page.
No way.
No need to write sites in perl, especially since
I've never dealt with Pearl before.
Why embed html in perl? make only the part related to data manipulation on the perl, and the entire interface part - just next to it. Learn new words RESTfull, api. On js + html, you implement the client part, it is responsible for the visual display of data requested via ajax; write the logic for working with the base in perl.
Alternatively, you can use this
the print set is not required, you can do it like this:
print qq~
<html>
<body>HTML</body>
</html>
~;
https://github.com/fglock/Perlito
Can convert perl to javascript, but that's the kind of oak skyscraper building. ( https://webcache.googleusercontent.com/search?q=ca... )
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question