http://www.perlmonks.org?node_id=541318


in reply to help needed in printing the numbers

use sprintf.

my $result = sprintf "%03d", $number;

Regards,
Murugesan Kandasamy
use perl for(;;);