<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Thanks again Alex, Mike, Dave. &nbsp; I finally got back to this last night and tried most of the things suggested here and on the website. &nbsp;Still no luck. &nbsp;Don't know if I've some corruption or if it is just my total ignorance of Apache.</div><div><br></div><div>Guess I will have to seek out someone to take my machine to, someone who can figure out why it won't run .pl or .cgi. &nbsp;If you know someone that might do this for me, please let me know. &nbsp;I would, of course, pay for the service.</div><div><br></div><div>Haven't played with Eclipse yet, but I doubt that it can help unless it is a totally stand-alone product.</div><div><br></div><div>Appreciate the thoughts, Walt.</div><div><br></div><div><br></div><div><br></div><br><div><div>On Monday, at , Dave Turner wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"> <div bgcolor="#ffffff" text="#000000"> I used to use DZsoft as well, but I use Context now but there doesn't seem to be a Mac version. Have you looked at Eclipse <a class="moz-txt-link-freetext" href="http://www.eclipse.org/downloads/">http://www.eclipse.org/downloads/</a>? It might be more than you need but it's free.<br> <div class="moz-signature"><br> <br> </div> <br> <br> Walt Sanders wrote: <blockquote cite="mid:798D7133-89E6-460C-9EE4-823CAAC75944@cruzio.com" type="cite">Thanks much, I will play with these suggestions.&nbsp; Have to leave just now, but later.  <br>  <br> Isn't there a nice editor for the Mac that will run perl browser style within the editor?&nbsp; Had a nice one on my PC (DZSoft, a russian product) that worked beautifully.&nbsp; Really miss the convenience of that program.  <br>  <br> Walt. </blockquote></div></blockquote><div><br></div><div><br></div><div><br></div><div><br></div><div><blockquote type="cite"><blockquote cite="mid:798D7133-89E6-460C-9EE4-823CAAC75944@cruzio.com" type="cite">On Monday, at , Michael Frieddman wrote:&nbsp;</blockquote></blockquote></div><div><br></div>A pretty good beginner's guide to how to enable CGI on OS X's apache and where to store your scripts so you can run them is:<br><span class="Apple-tab-span" style="white-space: pre; ">        </span><a href="http://www.cgi101.com/learn/connect/mac.html">http://www.cgi101.com/learn/connect/mac.html</a><br><br>Basically, you find the default httpd.conf file, turn on CGI, and then turn on "Personal Web Sharing".<br><br>Hrm, those instructions should be slightly changed for Leopard. Now it's System Preferences->Sharing->Web Sharing and httpd.conf is under /etc/apache2/httpd.conf, but it should be pretty straightforward with those two location changes.<br><br>-- Mike<br><blockquote type="cite"><div bgcolor="#ffffff" text="#000000"><blockquote cite="mid:798D7133-89E6-460C-9EE4-823CAAC75944@cruzio.com" type="cite"> <br>  <br>  <br>  <br> On Monday, at , Alex Feinberg wrote:  <br>  <br>  <blockquote type="cite">Terminal executes the script. Terminal can't render HTML. Web    <br> browser can only render HTML, it can't execute scripts.    <br>    <br> You need to have a web server setup and configured to execute CGI    <br> scripts/mod_perl for that. How to do that will probably be beyond a    <br> single message, but OS X includes Apache which is the de-facto    <br> standard for web servers.    <br>    <br> Or you can use command redirection to test, e.g.:    <br>    <br> &nbsp;perl&nbsp; myscript.pl > /tmp/file.html &amp;&amp; open /tmp/file.html    <br>    <br> &nbsp;&nbsp; Thanks,    <br>    <br> On Monday, 10 November 2008 at 11:49:06 -0800, Walt Sanders wrote:    <br>    <blockquote type="cite">I'm new to apple machines and have had no luck getting my perl      <br> programs to run.&nbsp; Had no problem with my previous PC machines.&nbsp; I have      <br> BBEdit and Dreamweaver and Komodo, but nothing works.&nbsp; Must be some      <br> obvious thing that I don't know?      <br>      <br> Specifically, I need to run html generating perl programs on a browser      <br> on my machine for testing.&nbsp; All I get is the code in the browser.      <br>      <br> If I run perl in Terminal, it runs ok, so long as there is no html.      <br> In the case of html, it just lists the code.      <br>      <br> Grateful for whatever, Walt.&nbsp;<br></blockquote></blockquote></blockquote></div></blockquote></div><br></body></html>