Sisyphus repository
Last update: 29 november 2022 | SRPMs: 17934 | Visits: 25418014
en ru br
ALT Linux repos
5.0: 0.02-alt1

Group :: Development/Perl
RPM: perl-Devel-GlobalDestruction

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define dist Devel-GlobalDestruction
Name: perl-%dist
Serial: 1
Version: 0.12
Release: alt1

Summary: Expose the flag which marks global destruction
License: GPL or Artistic
Group: Development/Perl

URL: %CPAN %dist

BuildArch: noarch

# New global variable ${^GLOBAL_PHASE}

Requires: perl-base >= 1:5.14
BuildRequires: perl-base >= 1:5.14

# Automatically added by buildreq on Sun Oct 09 2011

BuildRequires: perl-Sub-Exporter perl-devel perl-Sub-Exporter-Progressive

Perl's global destruction is a little tricky to deal with WRT finalizers
because it's not ordered and objects can sometimes disappear.

Writing defensive destructors is hard and annoying, and usually if global
destruction is happenning you only need the destructors that free up non
process local resources to actually execute.

For these constructors you can avoid the mess by simply bailing out if global
destruction is in effect.

%setup -q -n %dist-%version


%doc Changes


Full changelog you can see here

design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin