Finance::Quote with Trustnet problem

I

info

I can get Finance::Quote to work perfectly except when trying to get
prices from Trustnet, for example the line


my %data = $q->fetch("trustnex","INVESTEC GLOBAL ENERGY A");

results in the error:

Undefined fetch-method trustnex passed to Finance::Quote::fetch at
../trustquote line 13

I have installed the latest version of Finance::Quote, so don't think
the merhod can be missing.

Any ideas or a working example with Trustnet?

Thanks
 
J

J. Gleixner

I can get Finance::Quote to work perfectly except when trying to get
prices from Trustnet, for example the line


my %data = $q->fetch("trustnex","INVESTEC GLOBAL ENERGY A");

results in the error:

Undefined fetch-method trustnex passed to Finance::Quote::fetch at
./trustquote line 13

I have installed the latest version of Finance::Quote, so don't think
the merhod can be missing.

Any ideas or a working example with Trustnet?

Never seen the class, however it looks like it's possibly a typo?

my %data = $q->fetch("trustnex","INVESTEC GLOBAL ENERGY A");
^
Should that be

my %data = $q->fetch('trustnet','INVESTEC GLOBAL ENERGY A');


??
 
I

info

Never seen the class, however it looks like it's possibly a typo?

my %data = $q->fetch("trustnex","INVESTEC GLOBAL ENERGY A");
^
Should that be

my %data = $q->fetch('trustnet','INVESTEC GLOBAL ENERGY A');


Many thanks you are correct, its actually wrong on the sourceforge
docummentation for the class
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,175
Messages
2,570,946
Members
47,497
Latest member
PilarLumpk

Latest Threads

Top