in reply to Re^8: Broken image link when calling CGI from img tag
in thread Broken image link when calling CGI from img tag

Note that the file might have been only partially written when you check for it, for example if you have a filehandle that is still open to the image file, which still buffers data. Explicitly close or undef the filehandle to force writing all data to disk maybe before sending the HTML out that references the image.

Replies are listed 'Best First'.
Re^10: Broken image link when calling CGI from img tag
by lintunen (Novice) on Aug 12, 2010 at 09:01 UTC

    And finally I was able to solve my problem by creating a new thread http://www.perlmonks.org/?node_id=856002 and implementing backticks instead of using a piped open.