I'd like to register as a CPAN author.
Name: Marcel Grunauer
Email: [EMAIL PROTECTED]
Homepage: http://www.codewerk.com
UserID: MARCEL
I've got a few modules I'd like to contribute after discussing them on the
#perl and #london.pm IRC channels as well as Perl Monger mailing lists and,
of course, comp.lang.perl.modules.
There is Tie::Scalar::Timeout, a module for timing out scalar variables.
Then there is a family of modules implementing IO streams, much like Java
does. More modules are in the pipeline, to be done when I got some spare
time.
Tie::Scalar::Timeout's DSLI is 'abpr'. So far, Tie::Scalar::Timeout has
been briefly discussed on london.pm, but got a very good feedback.
If you need any more information, please let me know.
NAME
Tie::Scalar::Timeout - Scalar variables that time out
SYNOPSIS
use Tie::Scalar::Timeout;
tie my $k, 'Tie::Scalar::Timeout', MAXAGE => 2;
$k = 123;
sleep(3);
# $k is now undef
DESCRIPTION
This module allows you to tie a scalar variable whose value will be
reset to undef after a certain time. When tying, you can specify
arguments in the form of a hash. Use `MAXAGE' to specify the number of
seconds after which the value will be reset to zero. (Technically, the
value will still be there, but the module's FETCH sub will return
`undef'.) Using the `VALUE' hash key, you can specify an initial value.
One possible application for this module might be to time out session
variables in mod_perl programs.
AUTHOR
Marcel Grünauer <[EMAIL PROTECTED]>
SEE ALSO
perl(1), Tie::Scalar(3pm).
Regards
Marcel Grunauer