iangibson has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks.
[Please refer to Population of HoAoA based on file contents for full context on this. I'm making a new post here, as the previous node seems to have run its course.]
I've been trying (without success) to work out what's going on regarding some error messages I'm getting. I'm getting the following:
Can't call method "isa" on unblessed reference at /usr/local/share/perl/5.14.2/Bio/PopG +en/Statistics.pm line 901, <GEN0> line 182...when I run a basic script that passes a whole chromosome file to the Bio::PopGen::Statistics module. I successfully ran this script previously, and got some statistics back, so I can only assume that in re-running it now and getting errors, I must have changed the original program at some point.
When I run my new, larger script in which I used complex data structures to build 100kb windows (that you guys helped me with in the node I linked to above), I get a different error:
Can't call method "isa" without a package or object reference at /usr/local/share/perl/5.14.2/Bio/PopGen/Statistics.pm line 901.I'd like to know whether these problems originate with my own code, or with the module that the errors are originating from. If it's on my end, what can I do to fix it?
Help as always will be greatly appreciated.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Errors when using module
by tobyink (Canon) on Jun 04, 2012 at 19:48 UTC | |
|
Re: Errors when using module
by NetWallah (Canon) on Jun 05, 2012 at 01:56 UTC | |
|
Re: Errors when using module
by snape (Pilgrim) on Jun 04, 2012 at 19:43 UTC | |
|
Re: Errors when using module
by iangibson (Scribe) on Jun 05, 2012 at 15:32 UTC | |
by snape (Pilgrim) on Jun 05, 2012 at 21:09 UTC |