Authen::PAAS::SimpleCallback - A callback implementation with static data
use Authen::PAAS::SimpleCallback; my $cb = Authen::PAAS::SimpleCallback->new(data => "joe"); print $cb->data, "\n";
This module provides a trivial subclass of the Authen::PAAS::Callback which always returns a pre-defined chunk of static data.
Create a new callback object which will later provide the piece of static data defined by the data parameter. The data can be of an arbitrary Perl data type, it is treated opaquely by this module.
data
Retrieve the data associated with this callback object. The returned data will be that which was orginally passed into the constructor.
Daniel Berrange <dan@berrange.com>
Copyright (C) 2004-2006 Daniel Berrange
Authen::PAAS::Context, Authen::PAAS::Callback
To install Authen::PAAS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Authen::PAAS
CPAN shell
perl -MCPAN -e shell install Authen::PAAS
For more information on module installation, please visit the detailed CPAN module installation guide.