$image->string($font,2,10,'hello world',$fontcolor);
my $png = $image->png or die $!;


err, you mean

    or die "$!"
not
    or die $!;

Why? Its redundant and ugly to double quote a string that is a single variable.


As for the content type header, it may display in your browser but you should put a content type header so others browsers wonn't have to guess and there fore it will work for everyone :)

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to