libreadonly-xs-perl - faster Readonly implementation

Distribution: Debian 8 (Jessie)
Repository: Debian Main amd64
Package name: libreadonly-xs-perl
Package version: 1.05
Package release: 1+b1
Package architecture: amd64
Package type: deb
Installed size: 20 B
Download size: 10.20 KB
Official Mirror:
The Readonly module (q.v.) is an effective way to create non-modifiable variables. However, it's relatively slow. The reason it's slow is that is implements the read-only-ness of variables via tied objects. This mechanism is inherently slow. Perl simply has to do a lot of work under the hood to make tied variables work. This module corrects the speed problem, at least with respect to scalar variables. When Readonly::XS is installed, Readonly uses it to access the internals of scalar variables. Instead of creating a scalar variable object and tying it, Readonly simply flips the SvREADONLY bit in the scalar's FLAGS structure.



    Source package: libreadonly-xs-perl

    Install Howto

    1. Update the package index:
      # sudo apt-get update
    2. Install libreadonly-xs-perl deb package:
      # sudo apt-get install libreadonly-xs-perl


    • /usr/lib/x86_64-linux-gnu/perl5/5.20/Readonly/
    • /usr/lib/x86_64-linux-gnu/perl5/5.20/auto/Readonly/XS/
    • /usr/share/doc/libreadonly-xs-perl/changelog.Debian.amd64.gz
    • /usr/share/doc/libreadonly-xs-perl/changelog.Debian.gz
    • /usr/share/doc/libreadonly-xs-perl/changelog.gz
    • /usr/share/doc/libreadonly-xs-perl/copyright
    • /usr/share/man/man3/Readonly::XS.3pm.gz


    2013-12-25 - gregor herrmann <> libreadonly-xs-perl (1.05-1) unstable; urgency=low * Team upload. [ Ryan Niebur ] * New upstream release * remove quilt stuff from debian/rules, build dep on quilt, and remove debian/patches/ (applied upstream) [ Nathan Handler ] * debian/watch: Update to ignore development releases. [ Ansgar Burchardt ] * debian/control: Convert Vcs-* fields to Git. [ gregor herrmann ] * debian/control: update {versioned,alternative} (build) dependencies. [ Salvatore Bonaccorso ] * Change based URIs to based URIs [ gregor herrmann ] * Switch to "3.0 (quilt)" source format. * debian/copyright: switch formatting to Copyright-Format 1.0. * Use dh(1) and debhelper level 9. * Don't install README anymore. * Lowercase short description. * Declare compliance with Debian Policy 3.9.5.

    2008-01-26 - Roberto C. Sanchez <> libreadonly-xs-perl (1.04-2) unstable; urgency=low [ gregor herrmann ] * debian/rules: delete /usr/share/perl5 only if it exists. * Add patch croak.patch (and quilt framework) to make the package build under perl 5.10. * Set Standards-Version to 3.7.3 (no changes). * Set debhelper compatibility level to 6. * debian/watch: slightly change regexp for matching upstream tarballs. * debian/rules: - remove *VENDORARCH* arguments on creation of Makefile - let install-stamp target depend on buildstamp - remove commented out dh_installexamples

    2007-10-30 - Damyan Ivanov <> libreadonly-xs-perl (1.04-1) unstable; urgency=low * Initial Release. libperl-critic-perl 1.078 depends on this module.