| 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: image/svg+xml\r\n"; | 7 print "Content-Type: image/svg+xml\r\n"; |
| 8 print "Expires: Thu, 01 Dec 2003 16:00:00 GMT\r\n"; | 8 print "Expires: Thu, 01 Dec 2003 16:00:00 GMT\r\n"; |
| 9 print "Cache-Control: no-store, no-cache, must-revalidate\r\n"; | 9 print "Cache-Control: no-store, no-cache, must-revalidate\r\n"; |
| 10 print "Pragma: no-cache\r\n"; | 10 print "Pragma: no-cache\r\n"; |
| 11 print "\r\n"; | 11 print "\r\n"; |
| 12 | 12 |
| 13 sleep 2; | 13 sleep 2; |
| 14 | 14 |
| 15 open(FILE, "intrinsic-ratio.svg"); | 15 open(FILE, "intrinsic-ratio.svg"); |
| 16 while (<FILE>) { | 16 while (<FILE>) { |
| 17 print $_; | 17 print $_; |
| 18 } | 18 } |
| 19 close(FILE); | 19 close(FILE); |
| OLD | NEW |