If you choose XML you can either use XML::Simple (just make sure you read the docs carefully, simple can be a deceptive name ;-), or Data::DumpXML, which is very convenient too.
Going the pure-Perl way I would tend to use Data::Denter which I find to be easier to read than Data::Dumper and more convenient, as you don't have to eval the saved data, but just use undent.
If you are looking for speed then Storable is most likely to be the fastest though.
And note that none of these methods can store code references (subs).
In reply to Re: Persistence for options?
by mirod
in thread Persistence for options?
by toma
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |