Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: error @ line7

by daxim (Chaplain)
on Mar 07, 2013 at 11:38 UTC ( #1022210=note: print w/ replies, xml ) Need Help??


in reply to error @ line7

With CGI, you are learning an obsolescent technology. A Web program in the year 2013 looks like that:

use strict; use diagnostics; my $html = <<'HTML'; <!DOCTYPE html> <html> <head> <title>My First PSGI Script</title> </head> <body> <h1>This is a pretty lame Web page</h1> <p>Who are these perlmonks, anyway?</p> </body> </html> HTML my $app = sub { return [ 200, ["Content-Type" => 'text/html'], [$html] ] };
Save it as app.psgi, run it with plackup.


Comment on Re: error @ line7
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (7)
As of 2015-07-06 05:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (70 votes), past polls