LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-27-2012, 08:43 AM   #1
karnal
LQ Newbie
 
Registered: Jan 2012
Location: Pretoria -SA
Distribution: Ubuntu
Posts: 2

Rep: Reputation: Disabled
Unhappy Installing a Perl Module Time::HiRes (Please Help)


Hey guys i have searched high and low on the internet but i cannot find a way to install this module. Its called Time::HiRes I have tried a few things with no joy. the README from the tarball say i should "implement usleep, ualarm, and gettimeofday for Perl, as well as wrappers to implement time, sleep, and alarm that know non-integral seconds."

Can anyone help plz?

Thanks.
 
Old 01-27-2012, 09:01 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
sudo cpan

cpan > Time::HiRes
 
Old 01-27-2012, 09:51 AM   #3
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
Code:
cpan
cpan> install Bundle::CPAN
cpan> reload cpan
cpan> install Time::HiRes
cpan> exit
 
Old 01-27-2012, 12:17 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by karnal View Post
Hey guys i have searched high and low on the internet but i cannot find a way to install this module. Its called Time::HiRes I have tried a few things with no joy. the README from the tarball say i should "implement usleep, ualarm, and gettimeofday for Perl, as well as wrappers to implement time, sleep, and alarm that know non-integral seconds."

Can anyone help plz?

Thanks.
Spell out your words. And most Perl modules install the same way:
  1. perl Makefile.PL
  2. make
  3. make test
  4. make install
But the CPAN options given are easier. And since you searched "high and low", it's hard to believe you didn't come across lots of information on how to do this. First hit in Google for "linux how to install perl modules":
http://www.thegeekstuff.com/2008/09/...-cpan-command/
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Perl Module DiscoDave86 Linux - Software 9 07-20-2013 03:11 PM
list perl module & install perl module DBD::mysql linson_85 Linux - Newbie 4 06-22-2009 10:42 AM
Trouble in installing Perl module GD-2.41 kim,jw Linux - Newbie 3 12-18-2008 08:49 AM
installing perl module vickr1z Linux - Newbie 1 09-22-2004 07:12 AM
TIME::HiRes Mike_the_Man Programming 2 02-07-2001 10:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration