Perl programming could not find the package module.

Updated on technology 2024-02-08
4 answers
  1. Anonymous users2024-02-05

    Is it because of parse. The path is not included in the @inc?

    Plus the path.

  2. Anonymous users2024-02-04

    Here's how to install the Perl module in the audience. Take the net-server module as an example.

    There are two ways to install Perl modules under Linux Unix: manual installation and automatic installation.

    a. Steps for manual installation:

    From cpan(

    cd /usr/local/src

    Unzip the file, and a new directory will be created.

    tar xvzf

    Swap to the unzipped Bijia Bend catalog:

    cd generates makefile:

    perl

  3. Anonymous users2024-02-03

    Installation method: I'm going to introduce how to install the perl module on various platforms. Take the net-server module as an example.

    There are two ways to install the perl module under Linux Unix: manual installation and automatic installation.

    a. Steps for manual installation:

    From cpan(

    cd /usr/local/src

    Unzip the file, and a new directory will be created.

    tar xvzf

    Switch to the unzipped directory:

    cd generates makefile:

    perl generation module: make

    Test module (optional):

    make test

    If the test fails, Hugo reports "All Test OK", you can safely install the compiled module.

    Before installing the module, make sure you have writable access to the perl5 installation directory (usually obtained with the su command) and execute:

    make install

    Now, try the DBI module. If the following command doesn't give any output, that's fine.

    perl -mnet::server -e1

    The above steps are suitable for most Perl modules under Linux Unix. There may be a few modules that are installed in a slightly different way, so it's a good idea to look at the readme or install in the installation directory first.

    Sometimes, if so, the following installation steps are required: (module::build module support required).

    perlbuild

    build test

    build install

  4. Anonymous users2024-02-02

    If you're using ActivePerl, you can just use PPM to open the GUI and tell you that you have those modules installed on your system.

    But if you're not using ActivePerl, you'll have to use it manually, and in the perl installation directory, there are two folders, lib and site lib. In the absence of interference from other settings, the lib contains the modules that came with the perl installation, while the site lib is the module that you installed yourself with cpan or ppm. For example, there will be a file like mime under the lib, that is, mime::

    base64 is ready to use.

    Of course, for insurance purposes, you can execute such a sentence under cmd terminal.

    perl -e "print $_/ foreach @inc"

    This sentence doesn't show you what modules are installed, but you can see from this list that perl will look for the root of the modules, and you can just look at them one by one.

Related questions
28 answers2024-02-08

has fallen, so you should know that the pulse of this world is constantly positive, and the world will not stop waiting for you to wake up; >>>More

31 answers2024-02-08

should live.

Life is given to you by nature, and no matter what you go through, you earn it. >>>More

7 answers2024-02-08

In terms of industrial automation, employment in Northeast China is not so ideal. >>>More

6 answers2024-02-08

Have you ever done HR yourself?

If you haven't done it before, start with the basics and experience it first. So where to go, a good unit, definitely don't want newcomers, they have to have work experience, then recommend you to go here, it will definitely not be rejected, that is, the insurance company, of course, if you think it is a shame to do insurance, just when I didn't say, but there if you want to exercise yourself, learn HR work experience, absolutely good place, such as going to the job fair headhunter, this is all depending on their own ability, you can definitely exercise yourself, I hope it can help you, you can go to be an administrative assistant, or a sales assistant, come on. >>>More

25 answers2024-02-08

I think you're worrying about it. It doesn't matter what kind of people they are looking for, as long as the girl you like likes you, wouldn't it?! But with such low self-esteem, the girl follows you, will you be able to support a family in the future? >>>More