top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Creating a Perl web site, how should I build this

0 votes
392 views

Im working on a work project where we are moving a few Perl scripts from a command line to a web page that will allow more users to access the tool. Basically its a very simple script that takes an updated CSV feed, runs a internal test, then reports back the numbers from the test.
Ideally, we would like to have this run from a web page instead of from the command line as more people would like to access the tool but dont want to give everyone shell access. But the question is how should we build out this web page? In college I did some CGI Perl writing but it looks like (I could be wrong) that this is no longer the standard, and more people recommend going with Dancer, Mojolicious or Catalyst.
If anyone could provide suggestions to get started that would be great.

posted Jul 3, 2013 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

2 Answers

+1 vote

If you are building a web *site* - with hundreds of pages linked to each other with a common theme and some variety of back-end data store, then the steep learning-curve of any of the frameworks would be well worth the investment.

If you want to build a single web *page* where you feed it a file, it processes the data in some way, and produces an HTML report, I can see no good reason not to use something on the order of complexity of CGI.

answer Jul 3, 2013 by anonymous
0 votes

You can make a standard everyday perl script, just make it print out HTML instead of text. Once you have that you can configure apache like this :
ScriptAlias /script/ "/some/path/to/my/script.pl"

If you then access the webserver http://ip.address/script/ you should get the HTML output of your script on your browser.

answer Jul 3, 2013 by anonymous
Similar Questions
+1 vote

There seem to be two modules for it, yet none of them seems to let you do it --- if they do, the documentation doesn't have any example of how to do it.

The alternative seems to be to write MS excel files, and I don't really want to resort to that.

0 votes

Can anyone recommend a good book to use for building a website using Perl? Specifically, Im looking to build a backend to a mobile app. Everything Ive been trying to search for seems dated (2005 and earlier).

+1 vote

I need to access ClearQuest programatically using Perl. I just found ClearQuest OSLC REST API. Client is planning to use ClearQuest web 7.1.1. I read that it comes with OSLC REST API out the box.
Can someone please provide me some examples on how I can access the CQ through Perl using this API.

...