in reply to Prepocessing perl code / substing variables

If you just need simple values for a bunch of variables, use a config file. See Task::Kensho::Config for a list of recommended config modules, but there are many more on CPAN.

map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]