in reply to Re: RNA.pm module loading problem
in thread RNA.pm module loading problem

#!/usr/bin/perl/

use warnings;

use strict;

use Class::Struct;

use RNA;

This are the first 11 lines of my vienna.pl file and the compilation stops at the "use RNA" line

Replies are listed 'Best First'.
Re^3: RNA.pm module loading problem
by ashprog (Initiate) on Sep 07, 2013 at 13:52 UTC
    http://web.mit.edu/seven/src/ViennaRNA-1.5/Perl/RNA.pm

    this is the link to RNA.pm file

    thanks

      It's not sufficient to copy RNA.pm to some location where perl can find it.

      You need to get the entire source distribution (of Makefile.PL, RNA.pm, RNA_wrap.c, and test.pl at least).
      Then you need to build and test the module by running 'perl Makefile.PL' and 'make test'. In order for that to succeed, you'll need to have installed the viennaRNA library.
      If all that works ok, you then run 'make install' to install the module.

      Then you should be able to successfully 'use RNA;'.

      Cheers,
      Rob