http://qs1969.pair.com?node_id=31825


in reply to Data::Dumper

Stupid Data::Dumper trick. Set $Data::Dumper::Indent to 1 and dump a reference to a data structure. What you get is readable to humans, and makes a very convenient format for a configuration file. Just do the file to read the configuration. No work definining a format. No worries about whether or not everything is escaped...