Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37398093
en ru br
Репозитории ALT
S:0.03-alt2.1
5.1: 0.03-alt2
www.altlinux.org/Changes

Группа :: Разработка/Perl
Пакет: perl-Tie-ToObject

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

#
#   - Tie::ToObject -
#   This spec file was automatically generated by cpan2rpm [ver: 2.027]
#   (ALT Linux revision)
#   The following arguments were used:
#       Tie::ToObject
#   For more information on cpan2rpm please visit: http://perl.arix.com/
#

%define module Tie-ToObject
%define m_distro Tie-ToObject
%define m_name Tie::ToObject
%define m_author_id NUFFIN
%define _enable_test 1

Name: perl-Tie-ToObject
Version: 0.03
Release: alt2.1

Summary: %m_name - Tie to an existing object

License: Artistic
Group: Development/Perl
Url: http://search.cpan.org/dist/Tie-ToObject/

Packager: Michael Bochkaryov <misha at altlinux.ru>

BuildArch: noarch
Source: %m_distro-%version.tar.gz

# Automatically added by buildreq on Wed Sep 17 2008 (-bi)

BuildRequires: perl-Test-use-ok
BuildRequires: perl-Tie-RefHash

%description
While "tie" in perldoc allows tying to an arbitrary object, the class in question
must support this in it's implementation of "TIEHASH", "TIEARRAY" or
whatever.

This class provides a very tie constructor that simply returns the object it
was given as it's first argument.

This way side effects of calling "$object->TIEHASH" are avoided.

This is used in Data::Visitor in order to tie a variable to an already
existing object. This is also useful for cloning, when you want to clone the
internal state object instead of going through the tie interface for that
variable.

%prep
%setup -q -n %m_distro-%version
%build
%perl_vendor_build

%install
%perl_vendor_install

%files
%perl_vendor_privlib/Tie*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin