| OLD | NEW |
| 1 #!/usr/bin/perl -w | 1 #!/usr/bin/perl -wT |
| 2 | 2 |
| 3 # flush the buffers after each print | 3 # flush the buffers after each print |
| 4 select (STDOUT); | 4 select (STDOUT); |
| 5 $| = 1; | 5 $| = 1; |
| 6 | 6 |
| 7 print "Content-Type: application/xml\n"; | 7 print "Content-Type: application/xml\n"; |
| 8 print "Expires: Thu, 01 Dec 2003 16:00:00 GMT\n"; | 8 print "Expires: Thu, 01 Dec 2003 16:00:00 GMT\n"; |
| 9 print "Cache-Control: no-store, no-cache, must-revalidate\n"; | 9 print "Cache-Control: no-store, no-cache, must-revalidate\n"; |
| 10 print "Pragma: no-cache\n"; | 10 print "Pragma: no-cache\n"; |
| 11 print "\n"; | 11 print "\n"; |
| 12 | 12 |
| 13 print "\xef\xbb\xbf<?xml version=\"1.0\"?>\n"; | 13 print "\xef\xbb\xbf<?xml version=\"1.0\"?>\n"; |
| 14 print "<?xml-stylesheet type=\"text/xsl\" href=\"resources/transform.xsl\"?>\n"; | 14 print "<?xml-stylesheet type=\"text/xsl\" href=\"resources/transform.xsl\"?>\n"; |
| 15 | 15 |
| 16 for ($count=1; $count<4000; $count++) { | 16 for ($count=1; $count<4000; $count++) { |
| 17 print "\n"; | 17 print "\n"; |
| 18 } | 18 } |
| 19 | 19 |
| 20 print "<RESULT>FAILED</RESULT>\n"; | 20 print "<RESULT>FAILED</RESULT>\n"; |
| OLD | NEW |