Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^7: Why am I getting "premature end of script header"?

by ikegami (Patriarch)
on Nov 27, 2006 at 23:33 UTC ( #586368=note: print w/replies, xml ) Need Help??


in reply to Re^6: Why am I getting "premature end of script header"?
in thread Why am I getting "premature end of script header"?

I ran

perl -le "use Time::HiRes qw( time ); $t1=time; eval 'use LWP::UserAge +nt; use HTTP::Request::Common;'; $t2=time; print $t2-$t1"
a couple of times, and got
0.0728998184204102 0.0660429000854492 0.0670039653778076 0.0661859512329102

That means you'd save at most 70ms every time the script is run. I've waited longer than the time you'd save per day for a single PerlMonks page to load :) If you're that desperate for speed, you should switch to mod_perl, FastCGI, or similar

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://586368]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2022-09-24 16:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer my indexes to start at:




    Results (114 votes). Check out past polls.

    Notices?