Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re^5: Your random numbers are not that random

by tobyink (Abbot)
on Jul 22, 2012 at 09:11 UTC ( #983055=note: print w/replies, xml ) Need Help??

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

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'

Replies are listed 'Best First'.
Re^6: Your random numbers are not that random
by davies (Parson) on Jul 22, 2012 at 11:01 UTC

    While I can do this for my current project, it's not something that can be done for cards that have on them data that should be retained. And if other data can be replicated only by cloning a card, the position is untenable. I suppose it's my unfamiliarity with Linux. I'm not surprised that there isn't a precompiled version of Perl 5.16 for the Pi, but I was expecting it to be possible to create one. The hours of compiling are guaranteed to put people off using anything but the system Perl on a Pi, which may be why Python is their language of choice.


    John Davies

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://983055]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (2)
As of 2016-10-25 03:21 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (313 votes). Check out past polls.