Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re: Embeding Perl in HTML the PHP way

by RichardK (Vicar)
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?

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2015-11-29 11:14 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (750 votes), past polls