Hi.
I'd like to use the GeniusTrader set of modules as found at http://www.geniustrader.org
I don't see them in the huge list of available modules.
What do I do? Is there a way I can install them?
Thanks.
Hi.
I'd like to use the GeniusTrader set of modules as found at http://www.geniustrader.org
I don't see them in the huge list of available modules.
What do I do? Is there a way I can install them?
Thanks.
What do you mean by new module?
If you mean perl module, then go on the cpan website for a list of modules. http://www.cpan.org/
If you want to install the GT modules, follow the instructions. http://www.geniustrader.org/first_use.html
█ Xavier L | Community Public Relations Manager (Free Hosting Support)
█ Yes, my position is too cool to even exist!
█ How am I helping? Rate this post by clicking theicon below! (this is even better than "liking" a post)
█ Terms of Service | Acceptable Use Policy | x10Hosting Wiki
Thanks.
When I say I want to install a new module, yes, I should say I want to install a new Perl module.
I have the module file. The instructions on the web site say to run the installer exe file. I don't think I can do that and have it install in my x10hosting directory. I want to use this module in a Perl script on my web page.
Any idea how to install it to my perl directory on x10hosting?
Thanks.
If I am right, the only way for you to install specific modules on perl in X10 is if you have a VPS or a whole server. However try to include the module useCode:use Module::Name();
█ Xavier L | Community Public Relations Manager (Free Hosting Support)
█ Yes, my position is too cool to even exist!
█ How am I helping? Rate this post by clicking theicon below! (this is even better than "liking" a post)
█ Terms of Service | Acceptable Use Policy | x10Hosting Wiki
Hi. Thanks again.
I tried my script and called the module as if I knew it was installed. It couldn't find the module and then crashed.
Maybe X10 could install the modules for me.
Otherwise, I might forget the modules and just hard-code the formulas and routines I need.
Thanks.
If the module makefile doesn't do anything more complex than copying files and setting attributes (ie no compilation and doesn't alter file contents), you can install the module by hand into (eg) ~/lib/perl. At the start of every script that uses the module, add ~/lib/perl to @INC:
If you want it to be a little more self configuring:Code:BEGIN { unshift @INC, '/home/<username>/lib/perl'; }
Edit: Finance::QuoteDB::Geniustrader shows up in the list of modules installable from cPanel. Log in to cPanel, go to "Perl modules" and search for "Geniustrader".Code:use File::Basename; BEGIN { unshift @INC, dirname($ENV{'DOCUMENT_ROOT'}) . '/lib/perl'; }
Last edited by misson; 06-06-2009 at 09:37 PM.