Bob, thanks!

Interesting..  the C file is there (but I couldn't get it to compile.)

I though they were just 2 different methods of using the module (.pm or .c)..

So is it a rule that all .pm files must have supporting compiled c code somewhere else?

I will read the doc also,

Thanks, I hope it works!

Cheers,

{}==mph


From: Bob Showalter <[EMAIL PROTECTED]>
To: 'Mark Henry' <[EMAIL PROTECTED]>, beginners@perl.org
Subject: RE: unable to include .pm file Date: Mon, 24 Jan 2005 13:52:08 -0500


Mark Henry wrote:
> All, going to try this one again, sorry..!
>
> ---
>
> Hi,
>
> I'm trying to use a perl module that a tool I got, ccmeter.pl,
> requires and I can't no matter what I do..
>
> I'm on hpux11.11, and the script was written for 5.005_03 so that's
> what I'm including at the top of the perl script (
> #!/apps/perl-5.005_03/bin/perl) - this exists and *is* that
> particular version.
>
> The module is Time::HiRes, the file is HiRes.pm
>
> I d/l'd the module from cpan and put it in my user directory...
> ~mhenry/tools/3rdparty/Time/HiRes.pm
> The file exists of course, has read bit set across the board.

There's your problem. You can't just copy the HiRes.pm file and be done with
it. The module has C code that needs to be compiled.


For the general procedure to install Perl modules, see the documentation at:

perldoc perlmodinstall



-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to