http://www.perlmonks.org?node_id=505841


in reply to __DATE__ ?
in thread Consider this: What makes a good node title?

In C, __DATE__ is a way to retrieve the compile date. But in Perl, compiling and running are done by the same process, so we could just do something like
my $compile_time; BEGIN { $compile_time = time; }

Replies are listed 'Best First'.
Re^2: __DATE__ ?
by japhy (Canon) on Nov 04, 2005 at 19:56 UTC