in reply to How to run pbmtextps from inside Perl script
I can't reproduce you error, it runs fine from the shell, from a script and with:
perl -e 'system("pbmtextps -fontsize 24 SampleText > out.pbm")'
and the 'out.pbm' file is valid.
In Section
Seekers of Perl Wisdom