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

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?

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (14)
As of 2016-02-11 13:12 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (368 votes), past polls