GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Authen::PAAS::SimpleCallback(3) User Contributed Perl Documentation Authen::PAAS::SimpleCallback(3)

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.

$cb = Authen::PAAS::SimpleCallback->new(data => $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.
$cb->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
2006-06-04 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.