The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
my $file = '../gl_const.h';
die "Unable to open '$file'" if (!open(FILE,$file));

foreach my $line (<FILE>)
{
  next if $line !~ m|i\(([^\)]+)\)|;
  print "$1\n";
}
close(FILE);