NAME
POEx::Role::SessionInstantiation::Meta::Session::Magic - Provides the magic necessary to integrate with POE
VERSION
version 0.092671
ATTRIBUTES
orig 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.
orig is: rw, isa: Str
This stores the original meta name that would otherwise be lost
_self_meta is: rw, isa: Str
This is where we store the newly created anonymous clone class to keep it from going out of scope
METHODS
overload "", !=, ==
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.
after BUILD
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.
_clone_self
_clone_self does the initial anonymous class clone as needed to enable per instance modification via normal POE mechanisms.
AUTHOR
Nicholas Perez <nperez@cpan.org>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2009 by Nicholas Perez.
This is free software, licensed under:
The GNU General Public License, Version 3, June 2007