in reply to
Parse C-like define statements
And of course the first line of that sub should read
my ($filename, $option) = @_;
[download]
That's what I get for posting code that was tested in a slightly different form :)
Comment on
Re: Parse C-like define statements
Download
Code
In Section
Seekers of Perl Wisdom