Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: using a 'here' doc to build a web page

by Discipulus (Abbot)
on Jun 21, 2017 at 17:06 UTC ( #1193224=note: print w/replies, xml ) Need Help??


in reply to using a 'here' doc to build a web page

> Is this a valid approach?

as already said it will be valid for a small, not often changed project. But since Perl 5.26 at least you can indent your heredocs: see Indented_Here-documents in perldelta.

A template system is something good to have in your bag of tools: recently in an interesting, similar thread Text::Xslate was suggested as terribly fast compared to the classical Template::Toolkit see Best way to start a perl project

L*

There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (10)
As of 2022-01-21 14:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (59 votes). Check out past polls.

    Notices?