< Home - < Back

perl-Scope-Guard


Information about the package, perl-Scope-Guard, which is shipped with common Linux distributions. The perl-Scope-Guard package is designed for, Lexically scoped resource management.


Package Name:

perl-Scope-Guard

Summary:

Lexically scoped resource management

Description:

This module provides a convenient way to perform cleanup or other forms of resource management at the end of a scope. It is particularly useful when dealing with exceptions: the Scope::Guard constructor takes a reference to a subroutine that is guaranteed to be called even if the thread of execution is aborted prematurely. This effectively allows lexically-scoped "promises" to be made that are automatically honoured by perl's garbage collector.

Architecture:

noarch

Version:

0.12

Release:

1.el6

Size:

10 k

Repository:

epel

From Repository:

Licence:

GPL+ or Artistic



Handy Yum Commands for perl-Scope-Guard


Control the perl-Scope-Guard package with the following handy commands outlined below.


Command

Description of Command

yum install perl-Scope-Guard

This command will install perl-Scope-Guard on the server.

yum remove perl-Scope-Guard

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

yum -y remove perl-Scope-Guard

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

yum update perl-Scope-Guard

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

yum -y update perl-Scope-Guard

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

yum info perl-Scope-Guard

This command will show you core information about the perl-Scope-Guard package.

yum deplist perl-Scope-Guard

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

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