From 5d2935e3fc50b98e3396722af55158f4016bc0a6 Mon Sep 17 00:00:00 2001 From: Eric Bavier Date: Thu, 5 Mar 2015 16:21:24 -0600 Subject: [PATCH] gnu: Add Sub-Uplevel. * gnu/packages/perl.scm (perl-sub-uplevel): New variable. --- gnu/packages/perl.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index c59601250a..d4d652bd1a 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -996,6 +996,26 @@ the unsightly mess of C or typeglobs lying about where just anyone can see them.") (license (package-license perl)))) +(define-public perl-sub-uplevel + (package + (name "perl-sub-uplevel") + (version "0.24") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/" + "Sub-Uplevel-" version ".tar.gz")) + (sha256 + (base32 + "1yzxqsim8vpavzqm2wfksh8dpmy6qbr9s3hdqqicp38br3lzd4qg")))) + (build-system perl-build-system) + (home-page "http://search.cpan.org/dist/Sub-Uplevel") + (synopsis "Apparently run a function in a higher stack frame") + (description "Like Tcl's uplevel() function, but not quite so dangerous. +The idea is just to fool caller(). All the really naughty bits of Tcl's +uplevel() are avoided.") + (license (package-license perl)))) + (define-public perl-sys-cpu (package (name "perl-sys-cpu")