|go ahead... be a heretic|
Incompatible modules?by reubs85 (Acolyte)
|on Jul 28, 2012 at 18:04 UTC||Need Help??|
reubs85 has asked for the
wisdom of the Perl Monks concerning the following question:
I use bioperl a lot and have come across an issue with what appears to be an incompatibility between a couple of modules I am attempting to use. To set the scene, the first few lines of my script looks like this:
The error I'm thrown is this:
The script always quits at the line where I try and use the program 'TCoffee' (a DNA alignment tool, in case anyone's wondering).
I had a play around with a dummy script and figured out that it doesn't like the two modules used in the example above together - it will always quit. But if I remove the Bio::Tools::Run::StandAloneBlastPlus module, the TCoffe one can now function as it should do.
Rooting deeper, both these modules use another module, called CommandExts.pm, so I am guessing that there is some internal shenanigans going on such that both cannot use this same module within the same script.
Is this assessment right? And is there some method of effectively dealing with something like this? Any general advice on this kind of issue would also be massively appreciated as well - I am still a Perl-baby, really (obviously). I tried some things with Module::Refresh but, as I'm not even sure if my diagnosis is correct, it didn't surprise me that I had no joy (yet) with a fix. Apologies if it's something really obvious/stupid.
Many thanks for any replies,