Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re^2: Starting with Perl

by Jaap (Curate)
on Jul 26, 2005 at 09:45 UTC ( #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?

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2021-06-20 06:37 GMT
Find Nodes?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)

    Results (94 votes). Check out past polls.