in reply to Read from a header file like C

Consider one of the Config modules on CPAN: