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
POEx::Role::SessionInstantiation::Meta::Session::Magic(3) User Contributed Perl Documentation POEx::Role::SessionInstantiation::Meta::Session::Magic(3)

POEx::Role::SessionInstantiation::Meta::Session::Magic - Provides the magic necessary to integrate with POE

version 1.102610

    is: rw, isa: Str

orig stores the stringification of the original reference. This lets us fool POE into thinking that our new reference is the old reference.

    is: rw, isa: Str

This stores the original meta name that would otherwise be lost

    is: rw, isa: Str

This is where we store the newly created anonymous clone class to keep it from going out of scope

Stringification, and numeric comparison are overriden so that we can fool POE into thinking that our inject reference is actually the same as the old reference.

The numeric comparisons actually use string comparisons and stringifies the provided arguments.

All of the magic for turning the constructed object into a Session happens in this method. If a BUILD is not provided, a stub exists to make sure this advice is executed. Internally, it delegates actual execution to _post_build to allow it to be advised.

_post_build does the magic of making sure our overload magic is activated and that we are registered with POE via $poe_kernel->session_alloc.

To active the overload magic, use this method. This is what _post_build uses.

To register this instance with POE, use this method. This is what _post_build uses.

_clone_self does the initial anonymous class clone as needed to enable per instance modification via normal POE mechanisms.

Nicholas Perez <nperez@cpan.org>

This software is copyright (c) 2010 by Nicholas Perez.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

2010-09-18 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.