Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Using Bioperl module for first time.

by 7stud (Deacon)
on Mar 19, 2013 at 04:29 UTC ( [id://1024200]=note: print w/replies, xml ) Need Help??


in reply to Using Bioperl module for first time.

  1. Spelling counts in computer programming. You wrote the equivalent of:

    require Dog::Poop;
  2. You don't write 'require' anyway--it should be 'use'.
  3. I am on OSX 10.6.8 and downloaded the module using "fink"

    Is there a reason you aren't using the cpan command that is provided to you by your perl installation to download perl modules, i.e. opening up the Terminal App, and in the window that appears typing:

    $ cpan Some::Module

Replies are listed 'Best First'.
Re^2: Using Bioperl module for first time.
by kielstirling (Scribe) on Mar 19, 2013 at 08:46 UTC
    You don't write 'require' anyway--it should be 'use'.

    Unless you need to conditionally require and import it at runtime.
    ;)
Re^2: Using Bioperl module for first time.
by mastarr (Novice) on Mar 19, 2013 at 19:16 UTC

    Thanks. I can make those first two small changes.

    Yea, I didn't know about the cpan command which, now that I know, is much easier. Fink was actually the problem in the end.

      You need to install your own perl and leave the system perl alone. You might screw up your OS by messing with the system perl. If you have root permissions on the computer you're using, you can just download the latest version of perl and follow the installation instructions.

      If you don't have root permissions, you can download perlbrew and use it to install perl in your local directories. You may just want to do that anyway because perlbrew makes it easy to manage multiple versions of perl in case you decide to try different versions of perl or you want to install perl both with thread support and without, etc.

Re^2: Using Bioperl module for first time.
by Anonymous Monk on Mar 19, 2013 at 06:51 UTC

    You wrote the equivalent of:

    --7stud

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1024200]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-04-19 21:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found