[sf-perl] perl on a mac
Walt Sanders
wsanders at cruzio.com
Mon Nov 10 12:06:45 PST 2008
Thanks much, I will play with these suggestions. Have to leave just
now, but later.
Isn't there a nice editor for the Mac that will run perl browser style
within the editor? Had a nice one on my PC (DZSoft, a russian
product) that worked beautifully. Really miss the convenience of that
program.
Walt.
On Monday, at , Alex Feinberg wrote:
> Terminal executes the script. Terminal can't render HTML. Web
> browser can only render HTML, it can't execute scripts.
>
> You need to have a web server setup and configured to execute CGI
> scripts/mod_perl for that. How to do that will probably be beyond a
> single message, but OS X includes Apache which is the de-facto
> standard for web servers.
>
> Or you can use command redirection to test, e.g.:
>
> perl myscript.pl > /tmp/file.html && open /tmp/file.html
>
> Thanks,
>
> On Monday, 10 November 2008 at 11:49:06 -0800, Walt Sanders wrote:
>> I'm new to apple machines and have had no luck getting my perl
>> programs to run. Had no problem with my previous PC machines. I
>> have
>> BBEdit and Dreamweaver and Komodo, but nothing works. Must be some
>> obvious thing that I don't know?
>>
>> Specifically, I need to run html generating perl programs on a
>> browser
>> on my machine for testing. All I get is the code in the browser.
>>
>> If I run perl in Terminal, it runs ok, so long as there is no html.
>> In the case of html, it just lists the code.
>>
>> Grateful for whatever, Walt.
>> _______________________________________________
>> SanFrancisco-pm mailing list
>> SanFrancisco-pm at pm.org
>> http://mail.pm.org/mailman/listinfo/sanfrancisco-pm
> _______________________________________________
> SanFrancisco-pm mailing list
> SanFrancisco-pm at pm.org
> http://mail.pm.org/mailman/listinfo/sanfrancisco-pm
More information about the SanFrancisco-pm
mailing list