Automate Perl module

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

  1. #1

    Default Automate Perl module

    I'm using ActiveState ActivePerl 5.6 as my helper script for Windows
    2K/XP deployment. During OS deployment, I install ActivePerl
    automatically using the MSI installer. However, I would like to
    automatically install some additional Perl modules so that I can write
    computer info back to a mysql database.

    The perl -MCPAN -e shell command prompts me for configuration info on
    first run. I'd like to use the Perl Package Manager to automate the
    installation of additional modules.

    Any ideas?

    Thanx.
    TJ
    Teresa Jeremy Guest

  2. Similar Questions and Discussions

    1. Perl module for R-trees
      I've written a pure-Perl module for R-trees. R-trees are datastructures for data/objects which have an associated two-dimensional bounding box. The...
    2. snmpwalk perl module
      Does anyone know a perl module which enables snmpwalk. I haven't been able to find one. Regards Jesper
    3. Automate module installation
      I'm using ActiveState ActivePerl 5.6 as my helper script for Windows 2K/XP deployment. During OS deployment, I install ActivePerl automatically...
    4. automate file upload using perl
      Hi, I'm trying to automate a process to upload a file to hotmail, but having a strange error and I don't know what I'm doing wrong with the...
    5. Return value from perl module
      Hi there, Is this EXIF package ready for prime time yet? I would love to get my hands on it. I'm currently looking to get the exif info from...
  3. #2

    Default Re: Automate Perl module

    Teresa Jeremy wrote:
    > I'm using ActiveState ActivePerl 5.6 as my helper script for Windows
    > 2K/XP deployment. During OS deployment, I install ActivePerl
    > automatically using the MSI installer. However, I would like to
    > automatically install some additional Perl modules so that I can write
    > computer info back to a mysql database.
    >
    > The perl -MCPAN -e shell command prompts me for configuration info on
    > first run. I'd like to use the Perl Package Manager to automate the
    > installation of additional modules.
    ....
    > TJ
    Maybe I'm missing something, but why can't you just include lines like:

    ppm install module-name

    in a DOS batch file that runs on your target computer once Perl is up
    and going on it?

    Or maybe better yet, just prepare a directory on a server with the Perl
    configuration you want, and copy it over and fix up the path and
    environment variables as desired, with no need to do anything else?
    Seems like you're making it way more complicated than it has to be.

    --
    Bob Walton

    Bob Walton 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