Jump to content

galatime

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by galatime

  1. FIXED! I figured out that the HTML::TableExtract is not part of Perl, so I downloaded it, and now it works! Never mind :-) -GalaTime
  2. Hi, I recently installed (with Lisa's help) the Finance::Yahoo Perl package, available from CPAN. It's used for retrieving stock quotes from Yahoo Finance. To test if it works, I created a simple script, shown below: --------------------- #!/usr/bin/perl -w use strict ; use CGI::Carp qw(fatalsToBrowser); use lib '/home/galatim/public_html/cgi-bin/Finance-Quote-1.08/lib'; use Finance::Quote; print "Content-type: text/html\n\n"; print "<html>"; print "<head></head>"; print "<body>"; # This line will print the contents of Perl's @INC variable print "\@INC is @INC" ; # create object my $q = Finance::Quote->new(); print "</body>"; print "</html>"; --------------------- When I try to run it (at http://www.galatime.com/cgi-bin/test.pl), it does print the INC contents, with the correct path to the F::Q package. "@INC is /home/galatim/public_html/cgi-bin/Finance-Quote-1.08/lib /usr/lib/perl5/5.8.4/i686-linux /usr/lib/perl5/5.8.4 /usr/lib/perl5/site_perl/5.8.4/i686-linux /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl ." However, it then dies at the "my $q = Finance::Quote->new()" line with the following error: "Software error: Can't locate object method "methods" via package "Finance::Quote::Cdnfundlibrary" at /home/galatim/public_html/cgi-bin/Finance-Quote-1.08/lib/Finance/Quote.pm line 109." Debugging: * I have all permissions set to 755 * Error log in Cpanel says: "[Fri Sep 24 15:13:28 2004] test.pl: Can't locate object method "methods" via package "Finance::Quote::Cdnfundlibrary" at /home/galatim/public_html/cgi-bin/Finance-Quote-1.08/lib/Finance/Quote.pm line 109. [Fri Sep 24 15:13:28 2004] test.pl: BEGIN failed--compilation aborted at /home/galatim/public_html/cgi-bin/Finance-Quote-1.08/lib/Finance/Quote/Cdnfundlibrary.pm line 20. [Fri Sep 24 15:13:28 2004] test.pl: Can't locate HTML/TableExtract.pm in @INC (@INC contains: /home/galatim/public_html/cgi-bin/Finance-Quote-1.08/lib /usr/lib/perl5/5.8.4/i686-linux /usr/lib/perl5/5.8.4 /usr/lib/perl5/site_perl/5.8.4/i686-linux /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl .) at /home/galatim/public_html/cgi-bin/Finance-Quote-1.08/lib/Finance/Quote/Cdnfundlibrary.pm line 20. " PLEASE HELP!!! Thanks, GalaTime
  3. Thanks for the warm welcome. For the A and CNAME Records, Yahoo's Domain Control Panel shows: Type: Source: Destination: Actions: A Record galatime.com Yahoo! IP Address Edit | -- A Record www.galatime.com Yahoo! IP Address Edit | -- CNAME Record *.galatime.com Yahoo! Hostname Edit | -- CNAME Record mail.galatime.com Yahoo! Hostname Edit | -- Do I need to edit the IP address and replace it with something related to TCH? Thanks again, Galatime
  4. Hi, I recently registered the domain name (www.galatime.com) using Yahoo Domain Name registration. I then opened a TCH account to host this domain name - I am able to login to my cPanel using the IP addr send in TCH's welcome email. Per the email, I changed the NS settings in Yahoo to include NS1.TOTALCHOICEHOSTING.COM and NS2.TOTALCHOICEHOSTING.COM as my primary and secondary name servers. Yahoo also shows A and CNAME records - do I need to change these? Do I just wait for 72 hours before I can publish my content? I assume I can put in a "index.html" file in my public_html directory at cPanel to get started. Thanks for your help. GalaTime
×
×
  • Create New...