home *** CD-ROM | disk | FTP | other *** search
/ Chip 2000 May / Chip_2000-05_cd1.bin / zkuste / Perl / ActivePerl-5.6.0.613.msi / 䆊䌷䈹䈙䏵-䞅䞆䞀㡆䞃䄦䠥 / _6398156968e072c5a8800c75d88217a9 < prev    next >
Text File  |  2000-03-15  |  273b  |  11 lines

  1. #!/usr/local/bin/perl
  2. use CGI qw/:push -nph/;
  3. $| = 1;
  4. print multipart_init(-boundary=>'----------------here we go!');
  5. while (1) {
  6.     print multipart_start(-type=>'text/plain'),
  7.     "The current time is ",scalar(localtime),"\n",
  8.     multipart_end;
  9.     sleep 1;
  10. }
  11.