Cross Reference: nph-multipart.cgi
xref
: /
osnet-11
/
usr
/
src
/
cmd
/
perl
/
5.8.4
/
distrib
/
lib
/
CGI
/
examples
/
nph-multipart.cgi
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
#!/
usr
/
local
/
bin
/
perl
use
CGI
qw
/:
push
-
nph
/;
$| =
1
;
print
multipart_init
(-
boundary
=>
'----------------here we go!'
)
;
while
(
1
)
{
print
multipart_start
(-
type
=>
'
text
/
plain
'
)
,
"The current time is "
,
scalar
(
localtime
)
,
"\n"
,
multipart_end
;
sleep
1
;
}