On Feb 12, 2008 2:28 PM, Sam Tregar <[EMAIL PROTECTED]> wrote:
> But if I pass the object through Storable:
>
>     use Storable qw(freeze thaw);
>     my $foo = freeze($object);
>     my $obj = thaw($foo);
>     $obj->some_method_that_doesnt_exist("foo");
>
> I get the completely nonsensical error:
>
>     Can't store CODE items at ../../lib/Storable.pm (autosplit into
> ../../lib/auto/Storable/_freeze.al) line 287

Are you sure that error is generated by the
some_method_that_doesnt_exist() call and not the freeze() call?

-John

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Rose-db-object mailing list
Rose-db-object@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rose-db-object

Reply via email to