in reply to Formatting randomised data

Very close. You need to add sprintf.

$conduit_random = sprintf("%04d",int(rand(9999)));

Replies are listed 'Best First'.
Re^2: Formatting randomised data
by merlyn (Sage) on Jun 19, 2005 at 20:14 UTC
      my $random = sprintf "%04d", 1 + rand 9999

      per spec :)

      the lowliest monk

    A reply falls below the community's threshold of quality. You may see it by logging in.