in reply to Weird problems with Image::Magick and STDOUT

Try adding this after you calls to Image::Magick:

select(*STDOUT);

My guess is something in Image::Magick is selecting another handle. Restoring it to STDOUT should let you print again. If that is the case you might consider making a bug-report to the maintainer of Image::Magick.

-sam

Replies are listed 'Best First'.
Re: Re: Weird problems with Image::Magick and STDOUT
by cfreak (Chaplain) on May 14, 2002 at 04:14 UTC

    Thank you!!! That worked. I wonder why select STDOUT (without the typeglob) didn't.

    On a totally unrelated note thank you for writting HTML::Template it makes my job so much easier :)

    Some clever or funny quote here.