Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
377 B

  1. #!/usr/local/bin/perl -w
  2. use CGI::Push qw(:standard :html3);
  3. do_push(-next_page=>\&draw_time,-delay=>1);
  4. sub draw_time {
  5. my $time = `/bin/date`;
  6. return start_html('Tick Tock'),
  7. div({-align=>CENTER},
  8. h1('Virtual Clock'),
  9. h2($time)
  10. ),
  11. hr,
  12. a({-href=>'index.html'},'More examples'),
  13. end_html();
  14. }