< Home - < Back

perl-Test-use-ok


Information about the package, perl-Test-use-ok, which is shipped with common Linux distributions. The perl-Test-use-ok package is designed for, Alternative to Test::More::use_ok.


Package Name:

perl-Test-use-ok

Summary:

Alternative to Test::More::use_ok

Description:

According to the Test::More documentation, it is recommended to run use_ok() inside a BEGIN block, so functions are exported at compile-time and prototypes are properly honored. However, people often either forget to add "BEGIN", or mistakenly group "use_ok" with other tests in a single "BEGIN" block, which can create subtle differences in execution order. With this module, simply change all "use_ok" in test scripts to "use ok", and they will be executed at "BEGIN" time. The explicit space after "use" makes it clear that this is a single compile-time action.

Architecture:

noarch

Version:

0.02

Release:

6.el6

Size:

13 k

Repository:

epel

From Repository:

Licence:

MIT



Handy Yum Commands for perl-Test-use-ok


Control the perl-Test-use-ok package with the following handy commands outlined below.


Command

Description of Command

yum install perl-Test-use-ok

This command will install perl-Test-use-ok on the server.

yum remove perl-Test-use-ok

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

yum -y remove perl-Test-use-ok

This command will un-install perl-Test-use-ok 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-Test-use-ok when using the -y flag.

yum update perl-Test-use-ok

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

yum -y update perl-Test-use-ok

This command will update perl-Test-use-ok 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-Test-use-ok when using the -y flag.

yum info perl-Test-use-ok

This command will show you core information about the perl-Test-use-ok package.

yum deplist perl-Test-use-ok

This command will show you the dependencies for perl-Test-use-ok. 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-Test-use-ok

This command will check if there is an update waiting on perl-Test-use-ok. 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.