Re: Perl Formula Help - Changing a Price in script

2012-03-20 Thread Shawn H Corey
On 12-03-20 05:39 AM, John W. Krahn wrote: $x -= $y; Is short for: $x = $x - $y; It is borrowed from the C programming language. It would be more accurate to say it's equivalent to: $x = $x - ( $y ); This becomes important when using the multiplicative operators: $x *= $y + 1; Which

Re: Perl Formula Help - Changing a Price in script

2012-03-20 Thread John W. Krahn
Dave K wrote: Hello - I am new to Perl, and looking for some much needed direction. I am trying to get a basic formula in place (within an existing IF statement) that will serve to increase my price (i.e., "$new_price") by the following formula: =PRICE divided by 0.8 plus 15 In other words, i

Perl Formula Help - Changing a Price in script

2012-03-20 Thread Dave K
Hello - I am new to Perl, and looking for some much needed direction. I am trying to get a basic formula in place (within an existing IF statement) that will serve to increase my price (i.e., "$new_price") by the following formula: =PRICE divided by 0.8 plus 15 In other words, if the Price is e