Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: Small Perl quests for a beginner?

by scorpio17 (Abbot)
on Dec 04, 2008 at 22:13 UTC ( #728122=note: print w/replies, xml ) Need Help??

in reply to Small Perl quests for a beginner?

Here's a suggestion if you're interested in web-related perl projects: there was a nice intro to Ruby a couple of years ago here:

Rolling with Ruby on Rails

Even though this article is on Ruby, it's very well written and it introduces a good sample problem: build an online cookbook (i.e., an online recipe database). You want to be able to create new recipes, modify old ones, view them, search them, etc.

While it seems simple, by the time you work through it you'll have a good understanding of perl, as well as mysql, apache, linux (the whole LAMP stack).

Now, the point of the original article was that you could do this in about 20 lines of ruby... nevermind all that! You can do something comparable using Catalyst. But as a beginner, I suggest doing it the hard way with CGI::Application, because it will help you understand all the nitty-gritty details. You can always do a "version 2" in Catalyst later. That will really help you understand and appreciate what all a web framework does for you "under the hood".

Replies are listed 'Best First'.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://728122]
[marioroy]: Hi karlgoethebier.
[karlgoethebier]: "Long time No See" ;-)
[marioroy]: Yes. I've been working on MCE and MCE::Shared. These are completed and released. MCE 1.830 and MCE::Shared 1.831. Saw the LWP::Simple and P::FM thread and thought to help out.
[marioroy]: Today, wanted to revisit running parallel Re: Crash with ForkManager on Windows. I tried running on Cygwin for comparison.
[marioroy]: Running parallel on Cygwin feels like running on Unix ;-)
[marioroy]: Fortunately, Strawberry Perl v5.26 runs well.

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2017-09-23 15:58 GMT
Find Nodes?
    Voting Booth?
    During the recent solar eclipse, I:

    Results (272 votes). Check out past polls.