in reply to Serialization and eval in YAML

The YAML interface is nothing like Data::Dumper, use this instead

my $string = Dump $oldbaloon; my $baloon = Load $string;

Or the corresponding DumpFile/LoadFile