Excerpts from Steve's message of Fri Feb 26 09:50:51 -0500 2010:
> 
> This method works great!  I was very close to getting coercion to work, 
> but somehow my substitution returned '2' every time.  Thanks all for the 
> help

You were doing via { s/-//g } instead of via { s/-//g; $_ }, so you were
getting the number of matches.

hdp.

Reply via email to