File: const.pl

package info (click to toggle)
libopengl-perl 0.7000%2Bdfsg-8
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,312 kB
  • sloc: perl: 10,178; ansic: 8,576; makefile: 111
file content (9 lines) | stat: -rwxr-xr-x 178 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
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);