Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^5: Your random numbers are not that random

by tobyink (Canon)
on Jul 22, 2012 at 09:11 UTC ( [id://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 (Prior) 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.

    Regards,

    John Davies

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2024-03-28 14:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found