|
|
| Problems? Is your data what you think it is? | |
| PerlMonks |
Re: Re: Re: A simple game AI that learnsby Fastolfe (Vicar) |
| on Jan 14, 2001 at 03:23 UTC ( [id://51692]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
Data::Dumper actually expands the data structure into human- and perl-readable form, which requires re-parsing it when you want to use it again. Storable works more like serialization in Java, in that a portable binary representation of the Perl variable is made, preserving things like blessed references and the like. I suspect Storable is going to be a little more efficient if all you want to do is store and retrieve the Perl structure.
In Section
Code Catacombs
|
|
||||||||||||||||||||||||