Re: Finance::Quote
[email protected] (John SJ Anderson) Fri, 3 Jul 2026 09:42:28 -0700
| Newsgroups | perl.beginners |
|---|---|
| Message-ID | <[email protected]> |
--Apple-Mail=_8561012D-1369-4A21-A4DA-71FD11EEE3A1 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 <moderator hat on> This is not an acceptable response. It is condescending and unhelpful. = Further responses of this nature will lead to your removal from this = mailing list. <moderator hat off>=20 > On Jul 3, 2026, at 09:32, masteraravind <[email protected]> = wrote: >=20 > Please use chatgpt. > It gives everything. Im surprised that these blogs still exists. !! >=20 > Thanks > Aravind > 91-9003122046 >=20 > On Fri, 3 Jul, 2026, 9:21=E2=80=AFpm Jim Gibson via beginners, = <[email protected] <mailto:[email protected]>> wrote: >> Use the command =E2=80=98perl -V=E2=80=99 (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. >>=20 >> You can install modules without using the cpan utility program. >>=20 >> First, download the module distribution from www.cpan.org = <http://www.cpan.org/>. Then use these commands: >>=20 >> perl Makefile.PL >> make >> make test >> make install >>=20 >> (You may need to preface the last command with =E2=80=99sudo=E2=80=99) >>=20 >>=20 >>=20 >> > On Jul 3, 2026, at 6:04=E2=80=AFAM, Mike <[email protected] = <mailto:[email protected]>> wrote: >> >=20 >> >=20 >> > 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/ >> >=20 >> > Instead it installs here: >> > /home/mike/.cpan/build/Finance-Quote-1.70-0/lib/Finance/ >> >=20 >> > 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 <http://quote_example.pl/> file it = gives a long, failed >> > output that begins with: >> >=20 >> > $ perl quote_example.pl <http://quote_example.pl/> >> >=20 >> > 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-li= nux /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. >> >=20 >> > 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 >> > $ >> >=20 >> > quote_example.pl <http://quote_example.pl/> is located here: >> > https://www.mflan.com/temp/quote_example.pl >> >=20 >> > I would like to be able to install Finance::Quote and use it. >> > Can anyone here help? >> >=20 >> >=20 >> > Mike >> >=20 >>=20 >>=20 >> --=20 >> To unsubscribe, e-mail: [email protected] = <mailto:[email protected]> >> For additional commands, e-mail: [email protected] = <mailto:[email protected]> >> http://learn.perl.org/ >>=20 >>=20 --Apple-Mail=_8561012D-1369-4A21-A4DA-71FD11EEE3A1 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 <html><head><meta http-equiv=3D"content-type" content=3D"text/html; = charset=3Dutf-8"></head><body style=3D"overflow-wrap: break-word; = -webkit-nbsp-mode: space; line-break: after-white-space;"><moderator = hat on><div><br></div><div>This is not an acceptable response. It is = condescending and unhelpful. Further responses of this nature will lead = to your removal from this mailing = list.</div><div><br></div><div><moderator hat off> <br = id=3D"lineBreakAtBeginningOfMessage"><div><br><blockquote = type=3D"cite"><div>On Jul 3, 2026, at 09:32, masteraravind = <[email protected]> wrote:</div><br = class=3D"Apple-interchange-newline"><div><div dir=3D"auto"><div>Please = use chatgpt.</div><div dir=3D"auto">It gives everything. Im surprised = that these blogs still exists. !!</div><div><br></div><div = data-smartmail=3D"gmail_signature"><div dir=3D"ltr"><div = style=3D"color:rgb(34,34,34)">Thanks</div><div = style=3D"color:rgb(34,34,34)">Aravind</div><div = style=3D"color:rgb(34,34,34)">91-9003122046</div></div></div></div><br><di= v class=3D"gmail_quote gmail_quote_container"><div dir=3D"ltr" = class=3D"gmail_attr">On Fri, 3 Jul, 2026, 9:21=E2=80=AFpm Jim Gibson via = beginners, <<a = href=3D"mailto:[email protected]">[email protected]</a>> = wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 = .8ex;border-left:1px #ccc solid;padding-left:1ex">Use the command = =E2=80=98perl -V=E2=80=99 (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.<br> <br> You can install modules without using the cpan utility program.<br> <br> First, download the module distribution from <a = href=3D"http://www.cpan.org/" rel=3D"noreferrer noreferrer" = target=3D"_blank">www.cpan.org</a>. Then use these commands:<br> <br> perl Makefile.PL<br> make<br> make test<br> make install<br> <br> (You may need to preface the last command with =E2=80=99sudo=E2=80=99)<br>= <br> <br> <br> > On Jul 3, 2026, at 6:04=E2=80=AFAM, Mike <<a = href=3D"mailto:[email protected]" target=3D"_blank" = rel=3D"noreferrer">[email protected]</a>> wrote:<br> > <br> > <br> > If I do:<br> > cpan install Finance::Quote<br> > in a terminal on my Linux Mint I expect the Quote.pm<br> > file to be installed here:<br> > /home/mike/perl5/lib/perl5/Finance/<br> > <br> > Instead it installs here:<br> > /home/mike/.cpan/build/Finance-Quote-1.70-0/lib/Finance/<br> > <br> > Well, OK. So I copy the = /home/mike/.cpan/build/Finance-Quote-1.70-0/lib/Finance/<br> > directory to /home/mike/perl5/lib/perl5/, but when I run<br> > the supplied <a href=3D"http://quote_example.pl/" rel=3D"noreferrer = noreferrer" target=3D"_blank">quote_example.pl</a> file it gives a long, = failed<br> > output that begins with:<br> > <br> > $ perl <a href=3D"http://quote_example.pl/" rel=3D"noreferrer = noreferrer" target=3D"_blank">quote_example.pl</a><br> > <br> > 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-li= nux /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.<br> > BEGIN failed--compilation aborted at = /home/mike/perl5/lib/perl5/Finance/Quote/MorningstarJP.pm line 27.<br> > Compilation failed in require at = /home/mike/perl5/lib/perl5/Module/Load.pm line 78.<br> > <br> > Here is my path:<br> > $ echo $PATH | tr : \\n | sort<br> > /bin<br> > /home/mike/.cargo/bin<br> > /home/mike/.local/bin<br> > /home/mike/perl5<br> > /home/mike/perl5/bin<br> > /home/mike/perl5/perlbrew/bin<br> > /home/mike/perl5/perlbrew/perls/perl-5.30.0/bin<br> > /sbin<br> > /snap/bin<br> > /usr/bin<br> > /usr/games<br> > /usr/local/bin<br> > /usr/local/games<br> > /usr/local/sbin<br> > /usr/sbin<br> > $<br> > <br> > <a href=3D"http://quote_example.pl/" rel=3D"noreferrer noreferrer" = target=3D"_blank">quote_example.pl</a> is located here:<br> > <a href=3D"https://www.mflan.com/temp/quote_example.pl" = rel=3D"noreferrer noreferrer" = target=3D"_blank">https://www.mflan.com/temp/quote_example.pl</a><br> > <br> > I would like to be able to install Finance::Quote and use it.<br> > Can anyone here help?<br> > <br> > <br> > Mike<br> > <br> <br> <br> -- <br> To unsubscribe, e-mail: <a href=3D"mailto:[email protected]" = target=3D"_blank" = rel=3D"noreferrer">[email protected]</a><br> For additional commands, e-mail: <a = href=3D"mailto:[email protected]" target=3D"_blank" = rel=3D"noreferrer">[email protected]</a><br> <a href=3D"http://learn.perl.org/" rel=3D"noreferrer noreferrer" = target=3D"_blank">http://learn.perl.org/</a><br> <br> <br> </blockquote></div> </div></blockquote></div><br></div></body></html>= --Apple-Mail=_8561012D-1369-4A21-A4DA-71FD11EEE3A1--