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

[MacPerl] time functions with MacPerl 5.1.3.r2



I have read the several recent postings about the time formatting functions
in timelocal.pl (warned not to use!) and Time::Local. However, I can't even
do something as simple as getting the current system time, forget
formatting. Example:

 currtime = time();

When I try to use this statement I end up with an MacPerl error of:

# Can't modify constant item in scalar assignment, near ");"
File '<AppleEvent>'; Line 3
# Execution of <AppleEvent> aborted due to compilation errors.

Any suggestions?

Dave Beck



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