Please use chatgpt. It gives everything. Im surprised that these blogs still exists. !!
Thanks Aravind 91-9003122046 On Fri, 3 Jul, 2026, 9:21 pm Jim Gibson via beginners, <[email protected]> wrote: > Use the command ‘perl -V’ (that is a capital V) to see where your perl > installation looks for modules to load. The source file for Finance::Quote > (Quote.pm) needs to be in a directory Finance somewhere in that path. > > You can install modules without using the cpan utility program. > > First, download the module distribution from www.cpan.org. Then use these > commands: > > perl Makefile.PL > make > make test > make install > > (You may need to preface the last command with ’sudo’) > > > > > On Jul 3, 2026, at 6:04 AM, Mike <[email protected]> wrote: > > > > > > If I do: > > cpan install Finance::Quote > > in a terminal on my Linux Mint I expect the Quote.pm > > file to be installed here: > > /home/mike/perl5/lib/perl5/Finance/ > > > > Instead it installs here: > > /home/mike/.cpan/build/Finance-Quote-1.70-0/lib/Finance/ > > > > Well, OK. So I copy the > /home/mike/.cpan/build/Finance-Quote-1.70-0/lib/Finance/ > > directory to /home/mike/perl5/lib/perl5/, but when I run > > the supplied quote_example.pl file it gives a long, failed > > output that begins with: > > > > $ perl quote_example.pl > > > > Can't locate XML/LibXML.pm in @INC (you may need to install the > XML::LibXML module) (@INC contains: ../lib > /home/mike/perl5/lib/perl5/5.30.0/x86_64-linux > /home/mike/perl5/lib/perl5/5.30.0 /home/mike/perl5/lib/perl5/x86_64-linux > /home/mike/perl5/lib/perl5 > /home/mike/perl5/perlbrew/perls/perl-5.30.0/lib/site_perl/5.30.0/x86_64-linux > /home/mike/perl5/perlbrew/perls/perl-5.30.0/lib/site_perl/5.30.0 > /home/mike/perl5/perlbrew/perls/perl-5.30.0/lib/5.30.0/x86_64-linux > /home/mike/perl5/perlbrew/perls/perl-5.30.0/lib/5.30.0) at > /home/mike/perl5/lib/perl5/Finance/Quote/MorningstarJP.pm line 27. > > BEGIN failed--compilation aborted at > /home/mike/perl5/lib/perl5/Finance/Quote/MorningstarJP.pm line 27. > > Compilation failed in require at > /home/mike/perl5/lib/perl5/Module/Load.pm line 78. > > > > Here is my path: > > $ echo $PATH | tr : \\n | sort > > /bin > > /home/mike/.cargo/bin > > /home/mike/.local/bin > > /home/mike/perl5 > > /home/mike/perl5/bin > > /home/mike/perl5/perlbrew/bin > > /home/mike/perl5/perlbrew/perls/perl-5.30.0/bin > > /sbin > > /snap/bin > > /usr/bin > > /usr/games > > /usr/local/bin > > /usr/local/games > > /usr/local/sbin > > /usr/sbin > > $ > > > > quote_example.pl is located here: > > https://www.mflan.com/temp/quote_example.pl > > > > I would like to be able to install Finance::Quote and use it. > > Can anyone here help? > > > > > > Mike > > > > > -- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > http://learn.perl.org/ > > >
