G
Guy
I have a list of number like 001, 002, 003, ... 100, in my first field. I
want to remove the leading zeros. Should I do:
$a = $field[0] + 0; # this appears to work
or
($a = $field[0]) =~ s/^0+//; # this also appears to work.
or is there yet a better way?
Guy
want to remove the leading zeros. Should I do:
$a = $field[0] + 0; # this appears to work
or
($a = $field[0]) =~ s/^0+//; # this also appears to work.
or is there yet a better way?
Guy