File: const.pl

package info (click to toggle)
libopengl-perl 0.6703%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,152 kB
  • ctags: 2,008
  • sloc: perl: 11,279; ansic: 7,128; makefile: 101; sh: 51
file content (9 lines) | stat: -rw-r--r-- 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);