< Home - < Back

perl-Try-Tiny


Information about the package, perl-Try-Tiny, which is shipped with common Linux distributions. The perl-Try-Tiny package is designed for, Minimal try/catch with proper localization of $@.


Package Name:

perl-Try-Tiny

Summary:

Minimal try/catch with proper localization of $@

Description:

This module provides bare bones try/catch statements that are designed to minimize common mistakes with eval blocks, and NOTHING else. This is unlike TryCatch, which provides a nice syntax and avoids adding another call stack layer, and supports calling return from the try block to return from the parent subroutine. These extra features come at a cost of a few dependencies, namely Devel::Declare and Scope::Upper that are occasionally problematic, and the additional catch filtering uses Moose type constraints, which may not be desirable either.

Architecture:

noarch

Version:

0.11

Release:

4.el6

Size:

30 k

Repository:

installed

From Repository:

epel

Licence:

MIT



Handy Yum Commands for perl-Try-Tiny


Control the perl-Try-Tiny package with the following handy commands outlined below.


Command

Description of Command

yum install perl-Try-Tiny

This command will install perl-Try-Tiny on the server.

yum remove perl-Try-Tiny

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

yum -y remove perl-Try-Tiny

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

yum update perl-Try-Tiny

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

yum -y update perl-Try-Tiny

This command will update perl-Try-Tiny 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-Try-Tiny when using the -y flag.

yum info perl-Try-Tiny

This command will show you core information about the perl-Try-Tiny package.

yum deplist perl-Try-Tiny

This command will show you the dependencies for perl-Try-Tiny. 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-Try-Tiny

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