[comp.lang.perl] timezone in perl, or ctime

marc@athena.mit.edu (09/12/90)

I had a need to express a time in human-readable form, for logging
purposes.  Much to my surprise, I found that perl has no ctime
function.  It was easy to write, with two caveats.  First, there is no
(obvious) way to get the timezone from within perl.  Second, perl
should have ctime as a built-in :-).  Is there a good reason why it
isn't there?  Larry, would you consider adding it?  This is another
win for those without real operating systems; if ctime isn't in libc
(or equivalent) whoever does that port can write it and the users
never have to worry about it again.

		Marc
--
socket(S,2,1,0);connect(S,pack("SnC4x8",2,910,18,72,0,109));print(<S>);