Hi Roger,
You need to download and install the Scalar::Util module from CPAN, probably other things you think is useful too.
Okay, I assume I can just "install" by running Perl as a shell, then install the modules I need, like this.
D:\Perl\myscripts>\perl\bin\perl.exe -MCPAN -e "shell"
By the way, the perl version I use is Active Perl 5.8.1.
I could only find ActivePerl 5.8.0 build 806 , from http://www.activestate.com/Products/Download/Download.plex?id=ActivePerl
Thanks,
Peter
| [reply] [d/l] |
Okay, I assume I can just "install" by running Perl as a shell, then install the modules I need, like this...
That doesn't run perl as a shell (no such thing).
That won't always work, so you should read A Guide to Installing modules.
| [reply] |
Hi,
That doesn't run perl as a shell (no such thing).
It's obvious I meant a 'cpan' shell (me being a newbie, and you being an "expert")
That won't always work
Why won't it always work ?
.. so you should read A Guide to Installing modules
Which is the same node as suggested before. I have read it, digested it, and tried most of the methods to fix this. I guess I need to read it again (sigh)
Peter
| [reply] |
Roger,
By the way, the perl version I use is Active Perl 5.8.1
Can you please tell me where to get version 5.8.1, I can only get ActivePerl 5.8.0 build 806
I think I may have screwed up some of the Perl modules, because I used PPM, the shell version of CPAN, and even d/loading Mail::Box from the website, uncompressing it, and then doing the 'makefile', etc. To me, it's confusing to know what I _should_ use to install any missing modules. Also, I don't have a C compiler installed, that could be complicating things. :(
Anyway, I'm going to un-install everything, then install "ActivePerl 5.8.0 build 806", then try and run the sample script you supplied, and then take it slowly, step by step, fixing up any 'errors' (missing modules,etc).
Thanks for your help,
Peter
| [reply] |