![]() |
|
There's more than one way to do things | |
PerlMonks |
Re: CGI script bringing its own databy liz (Monsignor) |
on Sep 03, 2003 at 09:47 UTC ( [id://288568]=note: print w/replies, xml ) | Need Help?? |
What I gather from your question is that you want to make the result of:
be available automagically when the script starts. There are several ways to do that:
I haven't tried it myself, but I fear that you'll not be able to freeze the GD::Image object (because it is most likely a complex object, not a simple hash ref), so you would have to freeze $data. But that's just the contents of the file, so that doesn't make much sense. You can however speed up the reading of the original PNG file:
Hope this helps. Liz
In Section
Seekers of Perl Wisdom
|
|