The problem isn't the space. The problem is that the results of the printf program add a comma to the end of your variable.
Use the sprintf builtin instead:
my $ID1 = sprintf "%024x", $i;In reply to Re: perl Question
by chromatic
in thread perl Question
by perlb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |