Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • On modern perls at least, rand() will call srand() if it hasn't been called before.

    My perldoc -f srand says:
    If srand() is not called explicitly, it is called implicitly at the first use of the "rand" operator. However, this was not the case in versions of Perl before 5.004, so if your script will run under older Perl versions, it should call "srand".
  • Bugzilla is a hole-ridden hackfest that gives Perl a bad name. Try RT [bestpractical.com] instead; if non-Perl systems aren’t a problem, be sure to check out Trac [edgewall.com].