Newbie on using Modules

Ask a Question related to PERL Modules, Design and Development.

  1. #1

    Default Newbie on using Modules

    I've been programming in Perl for a while, but I'm just starting to use
    (or try to use) the modules from CPAN. I'm having difficulty
    understanding a couple things:
    1) How do I display the installed modules on UNIX
    2) Is it possible to get a module that requires no "C"
    compilation?
    3) How do I use CPAN.pm?
    I could use some "pointing" in the right directions.
    thanks
    Jac

    Jac Guest

  2. Similar Questions and Discussions

    1. Newbie: Bundling Perl script and modules in a Mac OS X app?
      Is it possible to bundle a Mac OS X application with a Perl script and a number of required modules, stored in the application package (folder...
    2. Newbie: Where to install/put my own modules?
      I have a module which I wrote myself and works fine from the command line (i.e., logged in as me) but trying to use it in my web page generation...
    3. Modules for XS.
      I need to call C functions from my Perl code, which requires XS. Since I never used it before, I want to know what modules need to be installed in...
    4. [Newbie] "failed ro read /modules/mosules-info"
      Sorry, Subject should have read "failed ro read /modules/modules-info" On Fri, 27 Jun 2003 10:44:09 +0200, St Bernard...
    5. V Newbie: Installing Perl modules
      I'm a v newbie who is trying to run the checklink thingy (http://validator.w3.org/checklink) I've installed ActivePerl and example.pl ran ok. ...
  3. #2

    Default Re: Newbie on using Modules


    Jac wrote:
    > I've been programming in Perl for a while, but I'm just starting to use
    > (or try to use) the modules from CPAN. I'm having difficulty
    > understanding a couple things:
    > 1) How do I display the installed modules on UNIX
    See FAQ: "How do I find which modules are installed on my system?"

    BTW: the purpose of a FAQ is not just to passively list the questions
    that are frequently asked. People are then encouraged, when they have a
    question, to look in the FAQ to see if it Frequently Asked.
    > 2) Is it possible to get a module that requires no "C"
    > compilation?
    Yes. Indeed most modules require no C compilation.

    On the other hand if you are really asking if it's possible to get a
    precompiled version of a module that does need C complation then that
    is possible for some platforms. Note that when you get a precompiled
    module you need to get it for the right OS, processor architecture, C
    compiler and maybe even C RTL.

    However if you want precompiled Perl modules you probably got a
    precompiled Perl and the place where you got that will probably have
    many precompiled modules. As far as I know you need to use a different
    package manager like RPM or PPM.
    > 3) How do I use CPAN.pm?
    That's rather vauge. Could you be more precide about what part of the
    documentation are you finding difficulty understanding?

    [url]http://perldoc.perl.org/CPAN.html[/url]

    Brian McCauley Guest

  4. #3

    Default Re: Newbie on using Modules

    Jac wrote:
    > I've been programming in Perl for a while, but I'm just starting to use
    > (or try to use) the modules from CPAN. I'm having difficulty
    > understanding a couple things:
    > 1) How do I display the installed modules on UNIX
    perldoc -q installed
    > 2) Is it possible to get a module that requires no "C"
    > compilation?
    > 3) How do I use CPAN.pm?
    perldoc CPAN
    > I could use some "pointing" in the right directions.
    > thanks
    > Jac
    >
    You're welcome.
    Mumia W. Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139