So you may want to re-write the substitution to:sub _split { ... $x =~ s/^\s*([-]?)0*([0-9])/$1$2/g ... }
If this is acceptable at all.... $x =~ s/^\s*([-]?)(0*[0-9])/$1$2/g ...
In reply to Re: Math::BigInt and Leading Zeros
by sh1tn
in thread Math::BigInt and Leading Zeros
by aplonis
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |