in reply to To USE or not to USE
A related question. When I do this (as I often do):
use CGI qw/header/; print header;
Am I paying too high a price? Does importing selective functions save any cpu time, or does it just stop the namespace from getting filled?
I suppose that I could just avoid the penalty of CGI and use:
print "Content-type: text/html\n\n";
Would this be a significant advantage for my scripts?
On a related note, if someone could point me to a node on timing the execution of scripts, that would be great, as I a can't seem to find the information I need to try this myself.
</ajdelore>
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: To USE or not to USE
by perrin (Chancellor) on Jul 22, 2003 at 16:31 UTC | |
by ajdelore (Pilgrim) on Jul 22, 2003 at 18:17 UTC | |
by perrin (Chancellor) on Jul 22, 2003 at 19:24 UTC | |
by adrianh (Chancellor) on Jul 23, 2003 at 16:12 UTC | |
Re: Re: To USE or not to USE
by castaway (Parson) on Jul 23, 2003 at 08:08 UTC |