I'm trying to prepare multiple SD cards for a demonstration of some Perl code on the Raspberry Pi. I prefer a new version (5.16) to the system Perl (5.10) and have installed it from scratch on one card, but this takes several hours. I would like to copy the files from one card to another, but I think I am missing some. I have told the process to install to /usr/local/ and as a result get lots of files in /usr/local/bin/ and /usr/local/lib/. I also get lots of files in the home directory of the user that ran the install. All these I have copied. However, instead of something sensible when I type perl -v, I get the message in the title.
I think that what the message is telling me is something along the lines of "some code in Perl (no, we won't tell you what it is) is trying to call a random number routine (no, we won't tell you what that is, either) that has nothing to do with the information you want but that we can't find in the place we expect (of course we won't)". I may be misunderstanding the message, but it doesn't seem helpful. The message I would like to get is along the lines of "version 5.16.0". Could some helpful monk please point me in the right direction?
I'm afraid my frustration is showing. Apologies and regards,
Update: The latest version of the OS uses Perl 5.14.2 instead of the 5.10 I have been used to. Regardless, I would prefer not to use the system Perl except for system tasks.