On 2011-11-16 09:57 -0500, Ronald J Kimball wrote: > That should be s/0*//, otherwise you'll get the wrong result for numbers > above 2147483647.
That should be s/^0*//, otherwise you'll get the wrong result for numbers above 2147483647. Also: printf"$_:%b\n",$_ for@ARGV -- --------------------------------------------------------------- | Olof Johansson http://stdlib.se/ | ---------------------------------------------------------------