Removing leading zeroes from a number held in a variable (presumably what the original poster was asking) is a different question; various solutions have already been provided. In this case, however, suaveant is correct that you don't need to remove the leading zeroes. If you treat the value as a number, Perl is happy to oblige!
In reply to Re: Re: Removing leading zeros
by chipmunk
in thread Removing leading zeros
by idunno
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |