This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
upgrade GCI from 3.43 to 3.45
[perl5.git]
/
lib
/
CGI
/
eg
/
nph-clock.cgi
diff --git
a/lib/CGI/eg/nph-clock.cgi
b/lib/CGI/eg/nph-clock.cgi
old mode 100644
(file)
new mode 100755
(executable)
index
55a2fbe
..
f34fde2
--- a/
lib/CGI/eg/nph-clock.cgi
+++ b/
lib/CGI/eg/nph-clock.cgi
@@
-5,7
+5,7
@@
use CGI::Push qw(:standard :html3);
do_push(-next_page=>\&draw_time,-delay=>1);
sub draw_time {
- my $time =
`/bin/date`
;
+ my $time =
localtime()
;
return start_html('Tick Tock'),
div({-align=>CENTER},
h1('Virtual Clock'),