I seem to be having a problem with an image being cached after using the unlink function in Perl. The Perl script first unlinks an image file and then a rename is performed to move another image to the name of the image that is unlinked. The Perl script then prints to a web page the name of the file that is unlinked but should reflect the new image. I verified that the new image took the place of the old one but the web page does not reflect the new image and retains the old one. Upon opening another browser, I do see the new image as it should be displayed. Note, the html is not hard-coded into an html file but printed from within the Perl script. Does anyone have any suggestions as to how I might be able get around this problem? I have also tried use::copy but get the same results. Thank you.
David K.