FAQ

* Chad Granum [2016-01-18 06:55]:
Which behavior do you want, preserve one, preserve all, preserve what
is requested in arguments?
I didn’t consider that. I was thinking ->release would take an optional
bool flag and that’s all. But you’re right that this would not be enough
and that providing enough interface to cover all the cases makes it too
complicated to be worth it.
my $err = $@;
$ctx->release();
$@ = $err;
Heh, which implies an obvious and amusing improvement:

     { local $@; $ctx->release }

Which is *easier* than any special interface, too. So, scrap that.

Regards,
--
Aristotle Pagaltzis // <http://plasmasturm.org/>

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 26 of 28 | next ›
Discussion Overview
groupcpan-workers @
categoriesperl
postedJan 12, '16 at 12:53a
activeJan 18, '16 at 10:52p
posts28
users8
websitecpan.org

People

Translate

site design / logo © 2018 Grokbase