You can't draw from your experiment the conclusion that Perl doesn't have
a problem with random numbers. Perl does *not* generate
random number itself, it will let the OS do that for it.
Looking at Configure, Perl will try to use drand48(),
random() or rand(), in that order (unless configured manually
otherwise).

So, the best you can conclude there's no problem with whatever
function Perl is using on your system. It might be different
on other platforms