|more useful options|
pack, 1 pix gif, and mod_perl speedby nop (Hermit)
|on Jan 29, 2003 at 03:25 UTC||Need Help??|
nop has asked for the
wisdom of the Perl Monks concerning the following question:
I'm a new user of pack, and just getting started with mod_perl.
I'm using this code to send a 1 pixel clear gif under mod_perl:
That code above seems to work, and runs instantly on a winnt & indigo perl box.
As I mentioned, I'm a new user of "pack." After reading about pack in perlfunc, I tried specifying the length in the pack statement ('H85') vs. using the star ('H*'), like this:
This second version runs extremely slowly on the same system, taking 3 or 4 seconds to load the (invisible) image.