pimperator has asked for the wisdom of the Perl Monks concerning the following question:
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Strawberry Perl cannot locate Statistics/Basic.pm
by marto (Cardinal) on Jul 11, 2014 at 20:07 UTC | |
Please read my update at the end of this post. Statistics::Basic is not a core module and is not part of the Strawberry Perl distribution. Normally to install this open a command prompt and type:
This should retrieve and install Statistics::Basic and its dependencies.However you'll need to patch it (because of this bug on Number::Format, a prerequisite) like so, again from the command line:
At this point save this file to the path displayed in your prompt (in my example it's D:\perl\cpan\build\Number-Format-1.73-L6b3hX, it'll be slightly different for you). Then back at the command prompt:
At this stage you manually patched and installed Number::Format, now your goal was Statistics::Basic, we drop back to the cpan shell and install it as normal:
All going well cpan will now install the module. Let us know if you have problems. Update: This isn't a stupid question, not knowing how to do this doesn't make you dumb. Nobody was born knowing how to do this. Take a look at PerlMonks for the Absolute Beginner from the Tutorials section, along with How do I post a question effectively?. | [reply] [d/l] [select] |
|
Re: Strawberry Perl cannot locate Statistics/Basic.pm
by CountZero (Bishop) on Jul 11, 2014 at 20:04 UTC | |
CountZero A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James My blog: Imperial Deltronics | [reply] |