I'm pretty sure (not positive, so someone please correct me if I'm wrong) that rand() has system-specific behaviour, and that if you seed it on a Windows machine, you could get a different sequence from the exact same seed on a BSD machine. This is fine if it's in-house, but if you ever want to be able to say "hey - found a cool sequence - try out seed xxxxx", they might not get the same sequence.
I'm not sure if there's a pure-perl PNRG on CPAN somewhere, but when I came across the problem in a C project, I ended up writing my own. It's a relatively simple algorithm, and a quick google shows up a number of results.
Are you posting in the right place? Check out Where do I post X? to know for sure.
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
Want more info? How to link
or How to display code and escape characters
are good places to start.