Forum Moderators: coopster & phranque

Message Too Old, No Replies

Perl Viewer

How to view perl scripts

         

fishebid

3:54 pm on Jun 13, 2003 (gmt 0)

10+ Year Member



Having searched for a program i have stumbled across this brilliant forums, and this is my first post.

What i am looking for is this. I want to be able to view perl scripts as they would apear on the net, at the moment i have to change somehting then upload it and it works or it gives me an error or blank page.

This is ok but i am trying to change tho look of something or add a table or some writing and it locks the script up.

What i was thinking was a program that could do like frontpage does with html, paste the html in press preview and it displays what it would look like when its uploaded.

Anyone know of a program that can do this please.

Thanks in advance from a perl newbi

mack

4:22 pm on Jun 13, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



If you download active perl from activestate.com you will be able to instal the perl language on your system. that way you can test and de-bug your script on your local machine in much the same way as you do on your web server.

Mack.

dingman

7:32 pm on Jun 13, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Even better, you can install Apache as well, and actually have a web server on your local machine. Visit the URLs as [localhost...] in your browser, and as long as you use relative links (and file paths) rather than absolute links you can just upload your files to the server when you are happy, and they'll work.

fishebid

8:08 pm on Jun 13, 2003 (gmt 0)

10+ Year Member



I actually have phpdev installed, comes with apache, perl, php and the database thing, all works well. But it still does not help me edit perl scripts.

What i have is an auction, their are some 20 odd scripts all for diffrent things. One of them controls how the front page looks and also the catagories, sub catagories etc

The file in question seems to be a mix of perl and html and is very diffacult to do thing with. This is what i see to try and edit this file. Problem is even tho i know what each part of the script does its very diffacult for me to see the changes i am making or that should perhaps be trying to make. I want to preview what the below looks like before uploading etc.

[edited by: jatar_k at 9:13 pm (utc) on June 13, 2003]
[edit reason] code snipped see sticky [/edit]

fishebid

10:43 pm on Jun 13, 2003 (gmt 0)

10+ Year Member



oops sorry about the code thing dident know i was not allowed to post code snips.

Wont do it again

jatar_k

11:44 pm on Jun 13, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



You can just not 3 pages worth. The keyword being snippets, no big deal. ;)

DrDoc

12:39 am on Jun 15, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Well, with Apache and Perl on your computer you will be able to preview things...

Or, you can always buy a program like PerlBuilder (still requires Perl on your computer).