>>79 いや、([\d])は(\d)で十分だた…

for $a (qw{090 0080 123 0 000}) {
 ($b = $a) =~ s/^0*(\d)/$1/;
 print "$a → $b\n"
}