Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I made a class in Moo for some objects. So i wanted to write one as yaml file. Then i could edit the yaml file and easily add more types of objects when i load it in.
But YAML::Tiny can't serialize an object reference. Can I unbless a Moo object into a hashref and yammily serialize that? Or is this madness and i should just dump the objects some other way?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: YAML::Tiny can't serialize an object reference. Can I unbless a Moo object into a hashref and yammily serialize that?
by Haarg (Priest) on Jul 15, 2019 at 13:15 UTC | |
Re: YAML::Tiny can't serialize an object reference. Can I unbless a Moo object into a hashref and yammily serialize that?
by tinita (Parson) on Jul 16, 2019 at 09:30 UTC | |
Re: YAML::Tiny can't serialize an object reference. Can I unbless a Moo object into a hashref and yammily serialize that?
by dsheroh (Monsignor) on Jul 15, 2019 at 10:48 UTC | |
Re: YAML::Tiny can't serialize an object reference. Can I unbless a Moo object into a hashref and yammily serialize that?
by daxim (Curate) on Jul 15, 2019 at 07:49 UTC | |
Re: YAML::Tiny can't serialize an object reference. Can I unbless a Moo object into a hashref and yammily serialize that?
by Anonymous Monk on Jul 15, 2019 at 03:15 UTC |
Back to
Seekers of Perl Wisdom