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

Группа :: Разработка/Perl
Пакет: perl-Data-Dump-Streamer

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

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

%define module Data-Dump-Streamer
%define m_distro Data-Dump-Streamer
%define m_name Data::Dump::Streamer
%define m_author_id YVES
%define _enable_test 1

%define oversion 2.08-40
Name: perl-Data-Dump-Streamer
Version: 2.08.40
Release: alt1

Summary: Accurately serialize a data structure as Perl code

License: Artistic
Group: Development/Perl
Url: %CPAN %m_distro

Packager: Vitaly Lipatov <lav at altlinux.ru>

Source: http://search.cpan.org/CPAN/authors/id/Y/YV/YVES/%m_distro-%oversion.tar.gz

# Automatically added by buildreq on Sun Jan 11 2009

BuildRequires: perl-Algorithm-Diff perl-B-Utils perl-Compress-Zlib perl-Text-Balanced perl-devel

%description
Given a list of scalars or reference variables, writes out
their contents in perl syntax. The references can also be
objects. The contents of each variable is output using the least
number of Perl statements as convenient, usually only one.
Self-referential structures, closures, and objects are output
correctly.

The return value can be evaled to get back an identical copy
of the original reference structure. In some cases this may
require the use of utility subs that
Data::Dump::Streamer will optionally
export.

This module is very similar in concept to the core module
Data::Dumper, with the major differences
being that this module is designed to output to a stream
instead of constructing its output in memory (trading speed
for memory), and that the traversal over the data structure
is effectively breadth first versus the depth first
traversal done by the others.

In fact the data structure is scanned twice, first in
breadth first mode to perform structural analysis, and then
in depth first mode to actually produce the output, but
obeying the depth relationships of the first pass.

%prep
%setup -q -n %m_distro-%oversion

%build
%perl_vendor_build

%install
%perl_vendor_install
rm -rf %buildroot%perl_vendor_man3dir/

%files
%perl_vendor_archlib/Data/*
%perl_vendor_autolib/Data/*

%changelog

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

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