This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Make Storable support read-only COWs
authorFather Chrysostomos <sprout@cpan.org>
Sun, 11 Aug 2013 21:46:55 +0000 (14:46 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Mon, 12 Aug 2013 08:53:26 +0000 (01:53 -0700)
commit4ea34344d710c5231aae2bde41acf5fda78eb175
tree31d8f4c6a708e94a4ef92ea00e2dfb4b564c215b
parente0060e30a691e43bb2fb3e566faa3878a95f8af4
Make Storable support read-only COWs

Unfortunately, the historical double meaning of SvREADONLY makes
it hard to do the correct thing under all perl versions.

If this proves too problematic for other XS modules, we might need
to forbid read-only COWs, which would be unfortunate, since they
speed things up.

However, a CPAN search reveals nothing outside core for
READONLY.*?(IsCOW|FAKE).
dist/Storable/Storable.xs