Subject: | Custom dump methods, for "foreign" objects. |
I need to dump (mainly for debugging) structures containing PDL objects. These are standard C structures, wrapped as scalarrefs. It is damn easy to write the string that, when read back by perl, will produce exactly the same structure. It's, however, impossible to make Data::Dumper output what I tell it. The warning that Freezer is not defined for other classes there is not nice either.