| Acme-Curse documentation | view source | Contained in the Acme-Curse distribution. |
Acme::Curse - Remove the blessing that lay on references
use Acme::Curse qw(curse);
my $unblessed_ref = curse($object);
Did you ever want to droo the blessing of an object? Well, now you can: Acme::Curse unblesses reference by returning a shallow, non-blessed copy of the object.
Currently only references to scalar, hashes, arrays and code objects can be unblessed.
Exported subs:
Unblesses a reference to an object.
None known, but surely there are many.
Moritz Lenz, http://perlgeek.de/, http://perl-6.de/
Copyright (C) 2008 Moritz Lenz
This module is free software; it can be used under the same terms as perl itself.
| Acme-Curse documentation | view source | Contained in the Acme-Curse distribution. |