[sf-perl] perl on a mac
wsanders at pacificwebdesign.org
Sun Nov 16 07:22:21 PST 2008
Jack, my bad. I've forgotten that I can run a "Hello World" in
Terminal, just straight out. It is when the program produces a web
page that it won't run. With or without the ./
Terminal won't run it of course, it just spits that code back at me.
But, if I try to run it in a browser, of try to preview it in an
editor, it still spits code back at me. This is any program that runs
perfectly fine when I upload it to any one of my ISP servers. I can
just download any working .cgi or .pl from one of my websites and it
won't run on my machine.
Still think I'm just missing something, possibly with the path?
Whatever, but thanks Jack.
On Saturday, at , John Penkethman wrote:
> Well, I had a problem running Perl at first. I know very little
> about Unix or Perl so I asked some one to show me. It turned out
> that many Unix users have the current directory in the path, which
> means all you have to do in type the filename of the program. My
> friend typed in
> ./myperlprog.pl , with the "dot-slash"
> and away it ran. Apparently, Perl on the Mac does not setup with "."
> in the path. Or something like that.
> On Nov 14, 2008, at 1:57 PM, Walt Sanders wrote:
>> Very interesting. Bluefish and Smultron look interesting, but the
>> comments led me to Coda, which I really like. Still won't
>> interpret perl for me tho. Thanks again, Walt.
>> On Friday, at , Dave Turner wrote:
>>> Walt - just saw this on Digg.com and thought it might help you
>>> with the editor choice you were pondering the other day:http://sixrevisions.com/tools/12-excellent-free-text-editors-for-coders/
>> SanFrancisco-pm mailing list
>> SanFrancisco-pm at pm.org
> SanFrancisco-pm mailing list
> SanFrancisco-pm at pm.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SanFrancisco-pm