[Pdx-pm] question: moving script from unix to windows

chromatic chromatic at wgz.org
Mon Jun 7 17:00:04 CDT 2004

On Mon, 2004-06-07 at 14:39, aspen 108 wrote:

>     open (PNG, ">$png_file") || die "unable to open $png_file";

I'd like to see the error message when you add $! to that line.

> A little more info that doesn't make sense...  I tried commenting-out some 
> of the new true type string commands.  If they're all off, the script runs 
> fine and there is no error with opening files.  If some/all are on, the 
> script dies, and the output file number on which it dies (e.g. 27.png, 
> 127.png, etc.) changes.  An example of the innocuous-looking true type 
> command is:

That makes me wonder if you're running out of file descriptors.  Are you
creating a new $image or opening a new font file for each iteration? 
(If you're not, is the library?)

-- c

More information about the Pdx-pm-list mailing list