Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re^2: Your random numbers are not that random

by davies (Parson)
on Jul 22, 2012 at 07:34 UTC ( #983044=note: print w/replies, xml ) Need Help??

in reply to Re: Your random numbers are not that random
in thread Your random numbers are not that random

Well, I've tried at least one version of perlbrew, but it crashes. It insists on running tests, and there isn't the memory on the Pi for that. Besides, I'm trying to avoid the hours of compiling that seem to be necessary. If there's a site that will give me downloadable binaries for the Pi, please let me know. My fear is that such a copy would leave me facing exactly the same problems as I'm currently getting when trying to copy a working installation.


John Davies

  • Comment on Re^2: Your random numbers are not that random

Replies are listed 'Best First'.
Re^3: Your random numbers are not that random
by tobyink (Abbot) on Jul 22, 2012 at 09:03 UTC

    perlbrew install runs tests by default, but the --notest option can be used to skip tests.

    perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'

      I ran my own download and compilation without tests to get the working version. I'm not clear what advantages perlbrew would offer, since I'm trying to avoid having to compile for every card (and every time I re-flash a card).


      John Davies

        Compile it once onto one card and then make clones of that card. (If you have two SD slots, you could use the dd command on Linux to create fast, exact copies. Even without a second SD slot, you could use dd via a temporary intermediate disk image file stored on some other medium.)

        perlbrew comes in handy because it's very good at ensuring Perl installs into one particular directory without leaving any crud lying around on other parts of your system. (And also because it provides the shell aliases for swapping between different installations of Perl very easily.)

        perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://983044]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (10)
As of 2018-05-23 13:12 GMT
Find Nodes?
    Voting Booth?