Context-Preserve
Context-preserve
https://metacpan.org/release/Context-Preserve
Perl module to preserve calling context
Context::Preserve allows developers to preserve the calling context of their subroutines, which is useful for functions that call other functions and return their results, with some possible modifications. This means that, if your module is called in scalar, list or void context, the given subroutine is called in the same context and the appropriate 'thing' is returned.
This means that it is easy to write functions that call other functions, modify their result and return it, in a seamless manner.
Licensing
License
Verified by
Verified on
Notes
License
Verified by
Debian
Verified on
20 March 2013
Notes
License: Artistic or GPL-1+
Artistic:
This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License, which comes with Perl. On Debian GNU/Linux systems, the complete text of the Artistic License can be found in `/usr/share/common- licenses/Artistic'
GPL-1+:
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version. On Debian GNU/Linux systems, the complete text of the GNU General Public Licensecan be found in `/usr/share/common-licenses/GPL'
Leaders and contributors
Resources and communication
Audience | Resource type | URI |
---|---|---|
Perl (Ref) | https://metacpan.org/release/Context-Preserve | |
Debian (Ref) (R) | https://tracker.debian.org/pkg/libcontext-preserve-perl |
Software prerequisites
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.
The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.