Page is a not externally linkable
- Code, Content, and Presentation
-- Perl Server Side CGI Scripting
---- Is Tight Code Best?


perl_diver - 10:44 pm on Sep 11, 2006 (gmt 0)


use the Benchmark module to test code with.

[perldoc.perl.org...]

it's a core module so should be installed.

In general this type of construct:

print "This is line 1.<br>\n";
print "This is line 2.<br>\n";
print "This is line 3.<br>\n";

is better written as:

print qq~This is line 1.<br>
This is line 2.<br>
This is line 3.<br>
~;

which to me is less confusing than your original intention:

print "This is line 1.<br>\nThis is line 2.<br>\nThis is line 3.<br>\n";


Thread source:: http://www.webmasterworld.com/perl/3079222.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com