Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Embeding Perl in HTML the PHP way

by RichardK (Priest)
on Sep 12, 2012 at 11:28 UTC ( #993211=note: print w/ replies, xml ) Need Help??


in reply to Embeding Perl in HTML the PHP way

Personally I still find CGI easier for simple cases like your example

# example from the CGI docs use CGI; # load CGI routines $q = CGI->new; # create new CGI object print $q->header, # create the HTTP header $q->start_html('hello world'), # start the HTML $q->h1('hello world'), # level 1 header $q->end_html; # end the HTML


Comment on Re: Embeding Perl in HTML the PHP way
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (11)
As of 2014-10-21 19:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (106 votes), past polls