in reply to multiple __DATA__ && __END__

gjb's suggestion is probably what you want. But another approach you could try is storing a serialized data structure in the __DATA__ segment (for example using Data::Dumper or FreezeThaw). This allows you to store whatever you want and spares you the effort of parsing it too.