Art <jcac@pobox.com> wrote: >My question is this: Is it possible to simply use MacPerl to take the >place of the pointer to usr/bin/perl so that I can determine whether a >script is going to bomb out? I tried to just insert the path in one of my >scripts to point to my local copy of macperl but obviously it didn't work. >Am I biting off more than I can chew? Is there a simple solution or is it >going to be really complex? This seems to be the result of some very muddled thinking. First of all, no, you can't do it that way. The #! line is non-magical (read emulated) in MacPerl. It doesn't point to the path to anything (although it does allow you to use certain switches). Generally if you're writing a script just for MacPerl the #! can look like so: #!perl but if you get a script written for a Unix box, and the #! looks like: #!usr/bin/perl That will work too. However, aside from switches, changing the #! does NOTHING on the Mac (whereas on Unix you could use it to point to a different copy of Perl). You should probably also (in addition to Chris Nandor's comments), make sure that certain flags are NOT set in the #! (as they don't work on the Mac) specifically: #!usr/bin/perl -T doesn't work from the #! on MacPerl. You can enable Taint Checks from the Script menu in MacPerl, which is fine for development purposes, or use Chris Nandor's Taint-Check version of the MacPerl CGI Script extention <http://pudge.net/macperl/pcgit.html> (if you're running perl scripts on a Mac Server that is). Further discussion to the macperl-webcgi list. --B Brian McNett, Webmaster ************************************************************* Mycoinfo. The world's first mycology e-journal. http://www.mycoinfo.com/ ************************************************************* ==== Want to unsubscribe from this list? ==== Send mail with body "unsubscribe" to macperl-webcgi-request@macperl.org