Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: Starting with Perl

by Jaap (Curate)
on Jul 26, 2005 at 09:45 UTC ( [id://478114]=note: print w/replies, xml ) Need Help??


in reply to Re: Starting with Perl
in thread Starting with Perl

I don't think may people here will agree, but i recommend for your first web-app you don't use a templating system and just print HTML statements wherever you need them. This has 2 advantages:
  • You really see what happens right in the code
  • It gets so dirty so quickly that next time you'll want to use a templating system
As for the inclusion of another perl file:
You can use eval but the better way would be to create a perl module (.pm file) that you can then use.

Replies are listed 'Best First'.
Re^3: Starting with Perl
by mikeraz (Friar) on Jul 26, 2005 at 17:30 UTC

    I second that idea. Do it without a templating system to get a strong viceral sense of why they're such a great thing. Then translate your project into whatever template system you choose. Both experiences, the raw creation and the translation from one system to another, will contribute to your mental toolbox.

    Be Appropriate && Follow Your Curiosity

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://478114]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2024-03-19 02:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found