Given the following lines:

$MESSAGE .= "<P>Application Fee: <B>" . $price . " Dollars U.S.</B>";

$MESSAGE .= "<P>Application Fee: <B>$price Dollars U.S.</B>";


Is there a performance issue (or any other issue) for using either of
the above lines?  Does it make any difference which is used?

Suppose it changed to the following:

$MESSAGE .= "<P>Application Fee: <B>" . $query-param('price') . "
Dollars U.S.</B>";

or

$MESSAGE .= "<P>Application Fee: <B>$query-param('price') Dollars
U.S.</B>";

I have used the first two lines without any noticeable difference, but I
didn't use any sort of debugging/timer tools either.  I am debating with
myself about which line from the second set I should use.  In all
instances the correct value of "price" was inserted into the variable
$MESSAGE.

Larry


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to