> The problem is that this tests for the Toaster method while the data is serialized/exported, not while it's deserialized/imported.
This is true, but for my purposes, this is better. Since the serialized string is being inserted into the database, I don't want it to have the thaw method associated with it unless it has a thaw method (justification: its misleading to the user)
> but I think the easiest solution is to define
> sub UNIVERSAL::Toaster { $_[0] }
ahh, but I don't have control over any non-AutoDB objects (I can't inject any methods into their space). Non-AutoDB objects are persisted only because they are pointed to by AutoDB objects (DD happily recurses over all references and builds a structure). But they have no ancestral connection to AutoDB.
Thus, this method won't work for me :(
In reply to Re^4: socio-political guidance sought
by Xamine
in thread socio-political guidance sought
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |