in reply to perl Question

It's cause $ID1 is "12345678," rather than "12345678". Get rid of the comma in the printf line. You might have to chomp($ID1); too.

Is $ID1 = `printf ...`; just an example? It would be much better to do $ID1 = sprintf "%024x", $i;.