Parent Directory
|
Revision Log
New tests
1 | wakaba | 1.1 | #!/usr/bin/perl |
2 | use strict; | ||
3 | |||
4 | require 'mixed-replace-generation.pl'; | ||
5 | |||
6 | $| = 1; | ||
7 | |||
8 | my $mr = mixed_replace_generation->new; | ||
9 | |||
10 | $mr->output_cgi_header; | ||
11 | |||
12 | for my $i (1..10) { | ||
13 | $mr->output_boundary; | ||
14 | |||
15 | $mr->output_line ('Content-Type: text/plain; charset=us-ascii'); | ||
16 | |||
17 | $mr->output_line (''); | ||
18 | |||
19 | $mr->output_line ('Part ' . $i . '/10'); | ||
20 | |||
21 | sleep 1; | ||
22 | } | ||
23 | |||
24 | $mr->output_last_boundary; |
admin@suikawiki.org | ViewVC Help |
Powered by ViewVC 1.1.24 |