Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Frontpage 2000 and CGI

by MCS (Monk)
on Feb 03, 2004 at 21:57 UTC ( [id://326324]=note: print w/replies, xml ) Need Help??


in reply to Frontpage 2000 and CGI

Perl is not like javascript or php... your browser does not run the program. Instead, you need to have a web server somewhere. (either on your machine or a remote machine). I haven't used windows in a while but I imagine it shouldn'e be too hard to install apache: http://www.apache.org/ and then that would give you a cgi-bin/ directory to put your scripts in. Then you would point your browser to something like http://localhost/cgi-bin/perlscript.pl

The other thing you can do for testing purposes, is run your program and save the output to a file. In unix you would do: "./perlscript.pl > output.html" and then open up output.html in a browser. I'm not quite sure how to do it in windows. Maybe someone who uses windows can help you there.

Replies are listed 'Best First'.
Re: Re: Frontpage 2000 and CGI
by Cody Pendant (Prior) on Feb 04, 2004 at 01:31 UTC
    Perl is not like javascript or php... your browser does not run the program.

    Huh? Your browser runs PHP?



    ($_='kkvvttuubbooppuuiiffssqqffssmmiibbddllffss')
    =~y~b-v~a-z~s; print
      well the browser doesn't "run" the php but it is imbedded into your html file. (quite unlike perl where it is in a /cgi-bin/ directory)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-04-25 09:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found