|
|
| laziness, impatience, and hubris | |
| PerlMonks |
CGI script bringing its own databy hacmac (Novice) |
| on Sep 03, 2003 at 05:31 UTC ( [id://288557]=perlquestion: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.hacmac has asked for the wisdom of the Perl Monks concerning the following question:
Hi everyone!
This is my first posting on here. I just wasn't able to find the right terms to feed a search engine with. Sorry if my answer is too stupid or something. Suppose there's a CGI script that shall output a PNG graphic, like this:
In reality, I'm going to draw a few annotations onto the PNG, using the GD library. What I'd like to accomplish is that the script should bring its own data, without having to do a read operation, the path to the file needing to be configured, and needing to catch open errors in a more graceful way than I did in my example. How would I encapsulate my data in the script? Thanks in advance everyone!
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||||||||||||