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

[MacPerl] guestbook.pl question (date)



Hello, all!  I am using a nice guestbook made by Matthew M. Wright
(http://www.worldwidemart.com/scripts/) it was originally a unix thing I
think. After getting some help with the mac version of chmod it is running
nicely but the following does not work:

# Get the Date for Entry
$date = `$date_command +"%A, %B %d, %Y at %T (%Z)"`; chop($date);
$shortdate = `$date_command +"%D %T %Z"`; chop($shortdate);

syntax check comes out ok, it just does not produce any output in the
expected places like

print " $date<p>\n";

I guess there is probably a mac way to get the date of a guestbook entry!
anyone know?  TIA - Pris

_______________________________________________________
Thanks for your kind attention - I'm outta here!
Pris Sears | sears@vt.edu | wk phone 540-231-4427 (USA)