Ron Savage on wrote...
| On Fri, 2007-11-23 at 11:11 -0500, Robert W Weaver wrote:
|
| Hi Robert
|
| > Its not a flush problem -- the ls -l shows that the file exists and
| > has a good size. However, at the pause, if I turn to process explorer,
| > it shows that my perl image still has a handle open to that temp file
| > there, and also later after $filename has gone out of context and all
|
| In my previous email's point (2) I was unclear. I should have said use
| the {} to make the $image variable go out of scope, not just the
| $filename variable.
You could also assign undefined to the variable. That should disconnect
the reference to the object and thus allow that obect to be cleared and
the connection to the open file closed. Assuming of course the perl
module is well written.
This is purely from a PERL programming point of view.
Anthony Thyssen ( System Programmer ) <[EMAIL PROTECTED]>
-----------------------------------------------------------------------------
Dragons have various degrees of flame at their disposal, ranging from
``toast a marshmallow'' to ``make a hole in a rock''. You might want to
keep that in mind next time you consider arguing with a dragon.
-- Robert Asprin, "M.Y.T.H. Inc. Link"
-----------------------------------------------------------------------------
Anthony's Home is his Castle http://www.cit.gu.edu.au/~anthony/
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users