in reply to RNA.pm module loading problem

You should show us the first 11 lines of your RNA.pm and vienna.pl files.

Replies are listed 'Best First'.
Re^2: RNA.pm module loading problem
by ashprog (Initiate) on Sep 07, 2013 at 13:47 UTC
    #!/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

      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