in reply to Including variable definitions from an extraneous file

This poll might give you some ideas: My preferred way of handling config data in Perl is:.

I've mostly used Data::Dumper/eval, but I generally wouldn't recommend it. Look into YAML or Config::Std or any one of many other modules.

  • Comment on Re: Including variable definitions from an extraneous file