Andyman has asked for the wisdom of the Perl Monks concerning the following question:

I've installed GD.Every seems to work fine, but when i try printing(print $img->png;) my computer starts beeping.Maybe its something simple, I've just starting working with Perl. I hope someone can help me. Thank you in advance.

Replies are listed 'Best First'.
Re: GM failure with printing
by Corion (Patriarch) on Sep 05, 2012 at 07:23 UTC

    What do you expect when you print the image data?

    Maybe you want to print the data to a file? The documentation examples print to STDOUT, so you might need to redirect STDOUT or simply output to a different filehandle.

      You're perfectly wright, thank you.