Re: Installing File::find module
by gellyfish (Monsignor) on Dec 08, 2004 at 10:07 UTC
|
Er, why do you need to install File::Find in the first place? If as I guess some stuff has been randomly deleted by mistake then, if you are absolutely sure that it is only this file that has been deleted, then you could just copy the file from the source distribution to the appropriate place, if on the other hand you are not sure what has been deleted then you will almost certainly need to reinstall your Perl /J\
| [reply] |
Re: Installing File::find module
by ercparker (Hermit) on Dec 09, 2004 at 07:17 UTC
|
well per one of the last suggestions. once you executed :
perl -MCPAN -e 'shell'
you get the following message and you'll be at a cpan prompt
cpan shell -- CPAN exploration and modules installation (v1.7601)
ReadLine support available (try 'install Bundle::CPAN')
once here you can install a module:
install File::Find
you can also get the Find.pm module here | [reply] [d/l] [select] |
Re: Installing File::find module
by asifk1981 (Novice) on Dec 08, 2004 at 10:29 UTC
|
Hi Monks,
I am here to provide more details. The reason why I want to reinstall File:: Fine module is that, I have noticed that the Find.pm file under the File directory of perl library in one of my HP:UX boxes is corrupted. Is it enough if I copy the correct Find.pm file from a different server and replace this corrupted Fine.pm file? Do I need to do any thing else for the change in Find.pm to take effect or just mere replacing will do? | [reply] |
|
yes, as we wrote - just replace it, and everything should be fine in this case.
| [reply] |
Re: Installing File::find module
by 2ge (Scribe) on Dec 08, 2004 at 10:08 UTC
|
Hi!
so you changed the source code, or deleted the file ? Why you don't go to CPAN and don't find that module ? You always could save source code and save it to right place. | [reply] |
Re: Installing File::find module
by asifk1981 (Novice) on Dec 09, 2004 at 06:29 UTC
|
Hi Monks, I have replaced the Find.pm file with the correct file and noticed that the problem still persists. Hence I think I need to reinstall the File::Find module itself, rather than just replacing the Find.pm file. Please advice me on how do I proceed with installing the module alone.As suggested by sasikumar I have tried with
perl -MCPAN -e 'shell'
since mine is a hp-ux box. But It throws me a message as follows:
"cpan shell -- CPAN exploration and modules installation (v1.61)
ReadLine support available (try 'install Bundle::CPAN')"
And as said earlier CPAN site gives me the entire perl5.8 package when I searched for File::Find module alone.
Please shed some light.... | [reply] |
|
Hi Monks, I have replaced the Find.pm file with the correct file and noticed that the problem still persists.
What problem? I have a feeling there is no "problem" and that you're just doing something foolish.
Please advice me on how do I proceed with installing the module alone.
Read perlmodinstall.
And as said earlier CPAN site gives me the entire perl5.8 package when I searched for File::Find module alone. Please shed some light.
File::Find comes with perl, so just reinstall perl.
| [reply] |
Re: Installing File::find module
by asifk1981 (Novice) on Dec 09, 2004 at 08:21 UTC
|
Please refer to the thread with heading " File::Find hogging memmory". I have already posted the issue that i have faced with the File::Find module earlier under this heading. In order to rectify this issue only I am re-installing the File::Find module. Please provide me with some inputs on this..... | [reply] |
Re: Installing File::find module
by asifk1981 (Novice) on Dec 09, 2004 at 15:58 UTC
|
| [reply] [d/l] |
|
I was just dealing with a similar issue on the perl5-porters mailing list. On that ticket, based on the directories used on HP-UX, the perl installed at /usr/local/bin/perl was 5.005002. Since I've been working on HP-UX 11.0 for about five years that seems about right.
Please confirm the version of Perl used in your script by performing a /usr/local/bin/perl -v and let us know what you find.
| [reply] |
Re: Installing File::find module
by sasikumar (Monk) on Dec 08, 2004 at 10:10 UTC
|
Hi
Which operating system are u using ?
If Windows then use ppm to install it for u
If unix based
Then try with perl -MCPAN -e 'shell'
Then install File::find
| [reply] |