Jenda Krynicky wrote:
From: [EMAIL PROTECTED]

	$now=localtime;
	print DEBUG "$now\n";
btw: When I use the upper lines, I get "Mon Jan 20 15:49:26 2003" as
$now. If I do

print DEBUG localtime;

i get some big number. What is that number? Unix-ticks or what it's
called? The difference is the scalar context, no?

You actually do not get one huge number, but several small ones concatenated together. Try:

print DEBUG join(', ', localtime);
or optionally and simpler:

	print DEBUG scalar localtime, "\n";

--
  ,-/-  __      _  _         $Bill Luebkert   ICQ=162126130
 (_/   /  )    // //       DBE Collectibles   Mailto:[EMAIL PROTECTED]
  / ) /--<  o // //      http://dbecoll.tripod.com/ (Free site for Perl)
-/-' /___/_<_</_</_     Castle of Medieval Myth & Magic http://www.todbe.com/


_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to