The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Tie::Scalar::RestrictUpdates - Limit the number of times a value is stored in a scalar.

SYNOPSIS

  use Tie::Scalar::RestrictUpdates;

  my $foo;
  tie $foo,"Tie::Scalar::RestrictUpdates",5;
  for(1..10) { $foo = $_; print $foo; }
  # This will print 1234555555

DESCRIPTION

This module limits the number of times a value can be stored in a scalar.

TODO

Loads probably. This is a very early draft.

DISCLAIMER

This code is released under GPL (GNU Public License). More information can be found on http://www.gnu.org/copyleft/gpl.html

VERSION

This is Tie::Scalar::RestrictUpdates 0.0.1.

AUTHOR

Hendrik Van Belleghem (beatnik@quickndirty.org)

SEE ALSO

GNU & GPL - http://www.gnu.org/copyleft/gpl.html