[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] WWWBoard and MacPerl



I'm a relative newbie to Perl. I have a fairly good grasp of programming,
but have never actually programmed in Perl. The experience I have is
setting up MacPerl to run a few CGI scripts on a web server. I was able to
make the modifications neccessary to make them run under MacPerl.

Now, I need to set up the Perl script WWWBoard
(http://www.worldwidemart.com/scripts/). I've taken a look at the code, and
it looks like I'll be fine except for one thing I'm not sure of. In the
variable definition section, it has this line:

$date_command = "/bin/date";

This is what the readme has to say about this line:

This needs to be the path to your 'date' command. This script uses the date
command to time stamp the messages individually with along date and to
place a short 'added' date on the wwwboard.html page.

I'm confused because I know there is no date "command" on the Mac (at least
/bin/date). Is there something in MacPerl that takes commands like
/bin/date and maps it to some included code in MacPerl?

Like I said, I have MacPerl running correctly on this web server and a few
other Perl CGI's are running successfully. I have version 5.1.5 r4 running
on this Web Server. I haven't yet tried running it yet, so maybe I just
need to try it and it'll work :)

Has anyone else run WWWBoard under MacPerl?

Thanks,
Marcel



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch