in reply to
Removing leading zeros
If you need to worry about possible negatives.
$num=~s/^(-?)0*/$1/;
[download]
Comment on
Re: Removing leading zeros
Download
Code
In Section
Seekers of Perl Wisdom