Re: Help regarding Perl modules in .pl and .in extension.



David Joseph Bonnici <djb@xxxxxxxxxxxxx> wrote in comp.lang.perl.misc:
> Hi I am using ActivePerl (Build 811) on Windows. I am using Komodo as an
> editor. I am a newbie.
>
> I am having problems when referencing to modules that have the extension .pl
> or .in.
> I am using downloaded projects from sourceforge to test some features.
>
> I usually found myself in the scenario, and I get stuck.
>
> in a test123.pl file I find
>
> .....
> use David;
> .....
>
> When I go to search for the modules, (in order to copy these files to
> c:\perl\lib) I find
>
> David.pm.pl and David.pm.in.
>
> If I copy them to the lib folder, the interpreter still tells me that he
> cannot find the module
>
> If I try to remame anyone of them, I get cannot compile object.
>
> Any help is appreciated.

You haven't installed the module properly. David.pm.pl and David.pm.in
(why didn't you give a real example?) are a Perl script and a template
file that together create David.pm. This happens during what is called
the build process. I don't know the particulars of the build process
under windows, but it would include thinks like

perl Makefile.PL
nmake

etc.

If the module you want doesn't come pre-packaged for windows, it may
be hard to install.

Anno
.



Relevant Pages

  • Re: TCL vs. Perl
    ... % tcsup install IncrTcl -exact 3.2 ... There may be a problem on Windows; so first tcsup would have to be installed ... a link out to the extension homepage and a direct download link. ...
    (comp.lang.tcl)
  • Re: How to get table names from ms access(mdb file) by using odbc library.
    ... engine installed by default (thus you don't need to install anything on a ... windows computer to read mdb files. ... then re-name the extension as .vbs." ...
    (comp.databases.ms-access)
  • Re: Using GetSaveFileName API with VB6
    ... As a point of historical interest, the "Minimum Install" option would have only ... this is what it says (under the Windows 3.1 docs) about the lpstrDefExt ... "Points to a buffer that contains the default extension. ... GetSaveFileName function appends this extension to the filename if the user fails to ...
    (microsoft.public.vb.general.discussion)
  • Re: Newbie: Perl script to Windows and Linux executable versions.
    ... I have a perl script that I'd like to be able to run on Windows and ... I've tried to install PAR::Packer from CPAN. ...   ...
    (comp.lang.perl.misc)
  • Re: Running a Perl script on windows xp
    ... I would recommend downloading activeperl from ... Running a Perl script on windows xp ... I have a Perl script and I would like to run it on ... Could anyone tell me which Perl I should install and, ...
    (perl.beginners)