< Home - < Back

perl-Time-Mock


Information about the package, perl-Time-Mock, which is shipped with common Linux distributions. The perl-Time-Mock package is designed for, Replaces actual time with simulated time - alternative to.


Package Name:

perl-Time-Mock

Summary:

Replaces actual time with simulated time - alternative to

Description:

This is an alternative to Test::MockTime which enables test suites to test code at specific points in time. Test::MockTime is nice, but doesn't allow you to accelerate the time step and doesn't deal with Time::HiRes or give you any way to change the time across forks.

Architecture:

noarch

Version:

0.0.2

Release:

2.el6

Size:

11 k

Repository:

epel

From Repository:

Licence:

GPL+ or Artistic



Handy Yum Commands for perl-Time-Mock


Control the perl-Time-Mock package with the following handy commands outlined below.


Command

Description of Command

yum install perl-Time-Mock

This command will install perl-Time-Mock on the server.

yum remove perl-Time-Mock

This command will un-install perl-Time-Mock on the server. When you run this command, you will be asked if you are sure that you want to remove perl-Time-Mock, so you have to manually confirm that you want to do this.

yum -y remove perl-Time-Mock

This command will un-install perl-Time-Mock on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove perl-Time-Mock when using the -y flag.

yum update perl-Time-Mock

This command will update perl-Time-Mock to the latest version. When you run this command, you will be asked if you are sure that you want to remove perl-Time-Mock, so you have to manually confirm that you want to do this.

yum -y update perl-Time-Mock

This command will update perl-Time-Mock to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove perl-Time-Mock when using the -y flag.

yum info perl-Time-Mock

This command will show you core information about the perl-Time-Mock package.

yum deplist perl-Time-Mock

This command will show you the dependencies for perl-Time-Mock. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.

yum check-update perl-Time-Mock

This command will check if there is an update waiting on perl-Time-Mock. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.