Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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 rifling through the Monastery: (7)
As of 2014-09-21 15:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (172 votes), past polls