diff options
author | Eric Bavier <bavier@member.fsf.org> | 2015-03-20 12:11:28 -0500 |
---|---|---|
committer | Eric Bavier <bavier@member.fsf.org> | 2015-03-20 14:22:36 -0500 |
commit | 2775b61b75647b6981f370a317e3d1a4d9286c58 (patch) | |
tree | 59c760a335fc8776684f227849e7960561560941 /gnu/packages/perl.scm | |
parent | b42c8753d24bf0b8b214fed03346854686e0c650 (diff) |
gnu: Add Tie-ToObject.
* gnu/packages/perl.scm (perl-tie-toobject): New variable.
Diffstat (limited to 'gnu/packages/perl.scm')
-rw-r--r-- | gnu/packages/perl.scm | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index e31dd7d45d..0dca3cdfb5 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -3705,6 +3705,28 @@ can also be set to any arbitrary supplied order. The familiar perl array operations can also be performed on the IxHash.") (license (package-license perl)))) +(define-public perl-tie-toobject + (package + (name "perl-tie-toobject") + (version "0.03") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/N/NU/NUFFIN/" + "Tie-ToObject-" version ".tar.gz")) + (sha256 + (base32 + "1x1smn1kw383xc5h9wajxk9dlx92bgrbf7gk4abga57y6120s6m3")))) + (build-system perl-build-system) + (propagated-inputs + `(("perl-test-simple" ,perl-test-simple))) + (home-page "http://search.cpan.org/dist/Tie-ToObject") + (synopsis "Tie to an existing Perl object") + (description "This class provides a tie constructor that returns the +object it was given as it's first argument. This way side effects of calling +$object->TIEHASH are avoided.") + (license (package-license perl)))) + (define-public perl-time-local (package (name "perl-time-local") |