Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: Confusion about code sample in perlfaq4

by BrowserUk (Pope)
on Feb 22, 2013 at 19:50 UTC ( #1020214=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    $vec = pack 'V', int( 2**32* rand() );;
    print @ints;;
    1 2 8 9 10 11 12 13 15 16 19 24 26 27 29
  2. or download this
    C:\test>perl -MMath::Random::MT=rand -minteger -MBenchmark=cmpthese
    $vec = pack 'V*', map int( 2**32* rand() ), 1 ..10;;
    a  22306/s   -- -79%
    b 108646/s 387%   --

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1020214]
[erix]: how does one find out how to install a program like cvsgrep
[erix]: I mean, I suppose it's just the one file so I can download that
[erix]: Makefile.PL should tell me, probably

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2017-06-22 16:42 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (524 votes). Check out past polls.