Subj : Re: How much should I charge for fixed-price software contract? To : comp.programming,comp.lang.java.programmer,comp.lang.lisp From : Steve O'Hara-Smith Date : Fri Aug 12 2005 08:36 am On Thu, 11 Aug 2005 21:42:30 -0700 rem642b@Yahoo.Com (Robert Maas, see http://tinyurl.com/uh3t) wrote: > strings whose characters all happen to be digits > at the moment and actual numeric values, so a+b could either add or > concatenate depending on what characters happen to be in the two > strings at the moment. Perl doesn't do that, a+b will always add and a.b will always concatenate. If there are no leading digits in the string it turns to 0 for the adding. perl -e 'print "fred" + "jim"'; 0 perl -e 'print "fred" . "jim"'; fredjim -- C:>WIN | Directable Mirror Arrays The computer obeys and wins. | A better way to focus the sun You lose and Bill collects. | licences available see | http://www.sohara.org/ .