question on cgi / perl, erm..

DannyBoy

Diamond Member
Nov 27, 2002
8,820
2
81
www.danj.me
What the hell do i use to edit a .cgi file!?!

Is it a compiled script or what?

I know its C derived but im so confused :confused:

I installed this activestate active perl thing and im clueless as to what to do, isnt there an IDE with the thing? :confused:

I have a cgi file I want to change and i dont know how to do it, or what to open it with :confused:

Any help appreciated.

Cheers,
Dan
 

blackdogdeek

Lifer
Mar 14, 2003
14,454
10
81
iirc, you can specify in the web server config file how to deal with .cgi file requests. if they are to be interpreted via a perl interpreter just like a .pl file then you should be able to just edit the file via a text editor. have you tried opening it up in vi or notepad?
 

TommyVercetti

Diamond Member
Jan 4, 2003
7,623
1
0
CGI files are usually just perl scripts. Just open it with notepad, and then save it back as a CGI file
 

DannyBoy

Diamond Member
Nov 27, 2002
8,820
2
81
www.danj.me
Originally posted by: TommyVercetti
CGI files are usually just perl scripts. Just open it with notepad, and then save it back as a CGI file

Its got special characters that arnt displaying in notepad, just as if it were a cpp file opened it notepad.

Are there no programs to view the code in an IDE like Vis Studio? :confused: