[Chicago-talk] How would I do this
me at heyjay.com
Sat Mar 25 14:34:54 PST 2006
On Saturday 25 March 2006 4:04 pm, JT Smith wrote:
> That I don't know. Maybe you just open a file handle to the whole file and
> Data::General figures it out. Honestly though, I wouldn't use __DATA__
> blocks for config. Instead, I'd use something like JSON or YAML for config
> files. It's taint safe, human readable, fast parsing, supports unlimited
> nesting and data structures. It's just good all the way around.
I'm using Config::General, it's pretty nice for config files. I just wanted
to have a __DATA__ section and build an object that passes back the
Config::General's parsing of the __DATA__ section.
More information about the Chicago-talk