A
A
Anastasia Sila2014-09-22 14:08:51
Perl
Anastasia Sila, 2014-09-22 14:08:51

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

6 answer(s)
V
Valentine, 2014-09-22
@tregnas

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.

S
s1dney, 2014-09-22
@s1dney

No way.
No need to write sites in perl, especially since

I've never dealt with Pearl before.

S
SilentFl, 2014-09-22
@SilentFl

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

D
dnsaur, 2014-09-28
@dnsaur

the print set is not required, you can do it like this:

print qq~
<html>
 <body>HTML</body>
</html>
~;

A
Alexander Taratin, 2014-09-22
@Taraflex

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... )

N
noize, 2014-09-25
@noize

+1 for the framework. Take Mojolicious, smoke mana on it for a couple of days and start writing code. Mojo is simple and convenient to disgrace. You don't have to start learning the language from writing wild shit code

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question